diff --git a/airbyte-integrations/connectors/source-microsoft-teams/.dockerignore b/airbyte-integrations/connectors/source-microsoft-teams/.dockerignore deleted file mode 100644 index e474c376ce68..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/.dockerignore +++ /dev/null @@ -1,6 +0,0 @@ -* -!Dockerfile -!main.py -!source_microsoft_teams -!setup.py -!secrets diff --git a/airbyte-integrations/connectors/source-microsoft-teams/.gitignore b/airbyte-integrations/connectors/source-microsoft-teams/.gitignore deleted file mode 100644 index 29fffc6a50cc..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/.gitignore +++ /dev/null @@ -1 +0,0 @@ -NEW_SOURCE_CHECKLIST.md diff --git a/airbyte-integrations/connectors/source-microsoft-teams/Dockerfile b/airbyte-integrations/connectors/source-microsoft-teams/Dockerfile deleted file mode 100644 index 4b206258d0b3..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -FROM python:3.9.11-alpine3.15 as base - -# build and load all requirements -FROM base as builder -WORKDIR /airbyte/integration_code - -# upgrade pip to the latest version -RUN apk --no-cache upgrade \ - && pip install --upgrade pip \ - && apk --no-cache add tzdata build-base libffi-dev - - -COPY setup.py ./ -# install necessary packages to a temporary folder -RUN pip install --prefix=/install . - -# build a clean environment -FROM base -WORKDIR /airbyte/integration_code - -# copy all loaded and built libraries to a pure basic image -COPY --from=builder /install /usr/local -# add default timezone settings -COPY --from=builder /usr/share/zoneinfo/Etc/UTC /etc/localtime -RUN echo "Etc/UTC" > /etc/timezone - -# bash is installed for more convenient debugging. -RUN apk --no-cache add bash - -# copy payload code only -COPY main.py ./ -COPY source_microsoft_teams ./source_microsoft_teams - -ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" -ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] - -LABEL io.airbyte.version=1.0.0 -LABEL io.airbyte.name=airbyte/source-microsoft-teams diff --git a/airbyte-integrations/connectors/source-microsoft-teams/README.md b/airbyte-integrations/connectors/source-microsoft-teams/README.md index de8db4cc28b2..54da8169d26f 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/README.md +++ b/airbyte-integrations/connectors/source-microsoft-teams/README.md @@ -1,99 +1,103 @@ -# Rabbitmq Destination +# Microsoft Teams Source -This is the repository for the Rabbitmq destination connector, written in Python. -For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.io/integrations/destinations/rabbitmq). +This is the repository for the Microsoft Teams configuration based source connector. +For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/microsoft-teams). ## Local development ### Prerequisites -**To iterate on this connector, make sure to complete this prerequisites section.** -#### Minimum Python version required `= 3.7.0` +* Python (`^3.9`) +* Poetry (`^1.7`) - installation instructions [here](https://python-poetry.org/docs/#installation) -#### Build & Activate Virtual Environment and install dependencies -From this connector directory, create a virtual environment: -``` -python -m venv .venv -``` -This will generate a virtualenv for this module in `.venv/`. Make sure this venv is active in your -development environment of choice. To activate it from the terminal, run: -``` -source .venv/bin/activate -pip install -r requirements.txt + +### Installing the connector + +From this connector directory, run: +```bash +poetry install --with dev ``` -If you are in an IDE, follow your IDE's instructions to activate the virtualenv. -Note that while we are installing dependencies from `requirements.txt`, you should only edit `setup.py` for your dependencies. `requirements.txt` is -used for editable installs (`pip install -e`) to pull in Python dependencies from the monorepo and will call `setup.py`. -If this is mumbo jumbo to you, don't worry about it, just put your deps in `setup.py` but install using `pip install -r requirements.txt` and everything -should work as you expect. -#### Create credentials -**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.io/integrations/destinations/rabbitmq) -to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `destination_rabbitmq/spec.json` file. -Note that the `secrets` directory is gitignored by default, so there is no danger of accidentally checking in sensitive information. -See `integration_tests/sample_config.json` for a sample config file. +### Create credentials + +**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/microsoft-teams) +to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `src/source_microsoft_teams/spec.yaml` file. +Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information. +See `sample_files/sample_config.json` for a sample config file. -**If you are an Airbyte core member**, copy the credentials in Lastpass under the secret name `destination rabbitmq test creds` -and place them into `secrets/config.json`. ### Locally running the connector + ``` -python main.py spec -python main.py check --config secrets/config.json -python main.py discover --config secrets/config.json -python main.py read --config secrets/config.json --catalog integration_tests/configured_catalog.json +poetry run source-microsoft-teams spec +poetry run source-microsoft-teams check --config secrets/config.json +poetry run source-microsoft-teams discover --config secrets/config.json +poetry run source-microsoft-teams read --config secrets/config.json --catalog sample_files/configured_catalog.json ``` -### Locally running the connector docker image +### Running tests +To run tests locally, from the connector directory run: -#### Build -**Via [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md) (recommended):** -```bash -airbyte-ci connectors --name destination-rabbitmq build +``` +poetry run pytest tests ``` -An image will be built with the tag `airbyte/destination-rabbitmq:dev`. +### Building the docker image -**Via `docker build`:** +1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md) +2. Run the following command to build the docker image: ```bash -docker build -t airbyte/destination-rabbitmq:dev . +airbyte-ci connectors --name=source-microsoft-teams build ``` -#### Run +An image will be available on your host with the tag `airbyte/source-microsoft-teams:dev`. + + +### Running as a docker container + Then run any of the connector commands as follows: ``` -docker run --rm airbyte/destination-rabbitmq:dev spec -docker run --rm -v $(pwd)/secrets:/secrets airbyte/destination-rabbitmq:dev check --config /secrets/config.json -# messages.jsonl is a file containing line-separated JSON representing AirbyteMessages -cat messages.jsonl | docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/destination-rabbitmq:dev write --config /secrets/config.json --catalog /integration_tests/configured_catalog.json +docker run --rm airbyte/source-microsoft-teams:dev spec +docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-microsoft-teams:dev check --config /secrets/config.json +docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-microsoft-teams:dev discover --config /secrets/config.json +docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-microsoft-teams:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json ``` -## Testing +### Running our CI test suite + You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md): ```bash airbyte-ci connectors --name=source-microsoft-teams test ``` ### Customizing acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. + +Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. -## Dependency Management -All of your dependencies should go in `setup.py`, NOT `requirements.txt`. The requirements file is only used to connect internal Airbyte dependencies in the monorepo for local development. -We split dependencies between two groups, dependencies that are: -* required for your connector to work need to go to `MAIN_REQUIREMENTS` list. -* required for the testing need to go to `TEST_REQUIREMENTS` list +### Dependency Management + +All of your dependencies should be managed via Poetry. +To add a new dependency, run: +```bash +poetry add +``` + +Please commit the changes to `pyproject.toml` and `poetry.lock` files. + +## Publishing a new version of the connector -### Publishing a new version of the connector You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what? 1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-microsoft-teams test` -2. Bump the connector version in `metadata.yaml`: increment the `dockerImageTag` value. Please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors). +2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)): + - bump the `dockerImageTag` value in in `metadata.yaml` + - bump the `version` value in `pyproject.toml` 3. Make sure the `metadata.yaml` content is up to date. -4. Make the connector documentation and its changelog is up to date (`docs/integrations/sources/microsoft-teams.md`). +4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/microsoft-teams.md`). 5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention). 6. Pat yourself on the back for being an awesome contributor. 7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master. - +8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry. \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-microsoft-teams/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-microsoft-teams/__init__.py similarity index 57% rename from airbyte-integrations/connectors/source-microsoft-teams/unit_tests/unit_test.py rename to airbyte-integrations/connectors/source-microsoft-teams/__init__.py index 219ae0142c72..c941b3045795 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/__init__.py @@ -1,7 +1,3 @@ # # Copyright (c) 2023 Airbyte, Inc., all rights reserved. # - - -def test_example_method(): - assert True diff --git a/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-config.yml b/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-config.yml index b87584405b26..123609ca78c3 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-config.yml @@ -1,22 +1,35 @@ # See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-microsoft-teams:dev -tests: +acceptance_tests: spec: - - spec_path: "source_microsoft_teams/spec.json" + tests: + - spec_path: "source_microsoft_teams/spec.yaml" connection: - - config_path: "secrets/config.json" - status: "succeed" - - config_path: "secrets/old_config.json" - status: "succeed" - - config_path: "secrets/config_oauth.json" - status: "succeed" - - config_path: "integration_tests/invalid_config.json" - status: "failed" + tests: + - config_path: "secrets/config.json" + status: "succeed" + - config_path: "integration_tests/invalid_config.json" + status: "failed" discovery: - - config_path: "secrets/config.json" + tests: + - config_path: "secrets/config.json" basic_read: - - config_path: "secrets/config.json" - empty_streams: [] + tests: + - config_path: "secrets/config.json" + configured_catalog_path: "integration_tests/configured_catalog.json" + empty_streams: + - name: team_device_usage_report + bypass_reason: "Could not seed this stream with sandbox credentails" + incremental: + bypass_reason: "This connector does not implement incremental sync" + # TODO uncomment this block this block if your connector implements incremental sync: + # tests: + # - config_path: "secrets/config.json" + # configured_catalog_path: "integration_tests/configured_catalog.json" + # future_state: + # future_state_path: "integration_tests/abnormal_state.json" full_refresh: - - config_path: "secrets/config.json" + tests: + - config_path: "secrets/config.json" + configured_catalog_path: "integration_tests/configured_catalog.json" diff --git a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/__init__.py b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/__init__.py index 46b7376756ec..c941b3045795 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/__init__.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/__init__.py @@ -1,3 +1,3 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2023 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/abnormal_state.json b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/abnormal_state.json new file mode 100644 index 000000000000..52b0f2c2118f --- /dev/null +++ b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/abnormal_state.json @@ -0,0 +1,5 @@ +{ + "todo-stream-name": { + "todo-field-name": "todo-abnormal-value" + } +} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py index 82823254d266..9e6409236281 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py @@ -11,4 +11,6 @@ @pytest.fixture(scope="session", autouse=True) def connector_setup(): """This fixture is a placeholder for external resources that acceptance test might require.""" + # TODO: setup test dependencies if needed. otherwise remove the TODO comments yield + # TODO: clean up test dependencies diff --git a/airbyte-integrations/connectors/source-microsoft-teams/sample_files/configured_catalog.json b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/configured_catalog.json similarity index 100% rename from airbyte-integrations/connectors/source-microsoft-teams/sample_files/configured_catalog.json rename to airbyte-integrations/connectors/source-microsoft-teams/integration_tests/configured_catalog.json diff --git a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/invalid_config.json b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/invalid_config.json index 3eaef7a0ea20..f4538c693ee4 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/invalid_config.json +++ b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/invalid_config.json @@ -1,6 +1,9 @@ { - "client_id": "wrong_client_id", - "tenant_id": "wrong_tenant_id", - "client_secret": "wrong_client_secret", + "credentials": { + "auth_type": "Token", + "client_id": "wrong_client_id", + "tenant_id": "wrong_tenant_id", + "client_secret": "wrong_client_secret" + }, "period": "D180" } diff --git a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/sample_config.json b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/sample_config.json index d187c3d46aff..7e2bed5642b2 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/sample_config.json +++ b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/sample_config.json @@ -1,6 +1,9 @@ { - "tenant_id": "", - "client_id": "", - "client_secret": "", - "period": "D7" + "credentials": { + "auth_type": "Token", + "client_id": "client_id", + "tenant_id": "tenant_id", + "client_secret": "client_secret" + }, + "period": "D180" } diff --git a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/sample_state.json b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/sample_state.json new file mode 100644 index 000000000000..3587e579822d --- /dev/null +++ b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/sample_state.json @@ -0,0 +1,5 @@ +{ + "todo-stream-name": { + "todo-field-name": "value" + } +} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/metadata.yaml b/airbyte-integrations/connectors/source-microsoft-teams/metadata.yaml index ce68d172788c..ae6127b7a62a 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/metadata.yaml +++ b/airbyte-integrations/connectors/source-microsoft-teams/metadata.yaml @@ -1,22 +1,32 @@ data: + allowedHosts: + hosts: + - graph.microsoft.com + registries: + oss: + enabled: true + cloud: + enabled: true + remoteRegistries: + pypi: + enabled: true + packageName: airbyte-source-microsoft-teams + connectorBuildOptions: + # Please update to the latest version of the connector base image. + # https://hub.docker.com/r/airbyte/python-connector-base + # Please use the full address with sha256 hash to guarantee build reproducibility. + baseImage: docker.io/airbyte/python-connector-base:1.2.0@sha256:c22a9d97464b69d6ef01898edf3f8612dc11614f05a84984451dde195f337db9 connectorSubtype: api connectorType: source definitionId: eaf50f04-21dd-4620-913b-2a83f5635227 - dockerImageTag: 1.0.0 + dockerImageTag: 1.1.0 dockerRepository: airbyte/source-microsoft-teams githubIssueLabel: source-microsoft-teams icon: microsoft-teams.svg license: MIT - name: Microsoft teams - remoteRegistries: - pypi: - enabled: true - packageName: airbyte-source-microsoft-teams - registries: - cloud: - enabled: true - oss: - enabled: true + name: Microsoft Teams + releaseDate: 2020-12-21 + releaseStage: alpha releases: breakingChanges: 1.0.0: @@ -25,13 +35,9 @@ data: A full schema refresh is required to upgrade to this version. For more details, see our migration guide. upgradeDeadline: "2024-01-24" - releaseStage: alpha + supportLevel: community documentationUrl: https://docs.airbyte.com/integrations/sources/microsoft-teams tags: - language:python - - cdk:python - ab_internal: - sl: 100 - ql: 100 - supportLevel: community + - cdk:low-code metadataSpecVersion: "1.0" diff --git a/airbyte-integrations/connectors/source-microsoft-teams/poetry.lock b/airbyte-integrations/connectors/source-microsoft-teams/poetry.lock new file mode 100644 index 000000000000..b2ceb43cf954 --- /dev/null +++ b/airbyte-integrations/connectors/source-microsoft-teams/poetry.lock @@ -0,0 +1,1008 @@ +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. + +[[package]] +name = "airbyte-cdk" +version = "0.81.0" +description = "A framework for writing Airbyte Connectors." +optional = false +python-versions = "<4.0,>=3.9" +files = [ + {file = "airbyte_cdk-0.81.0-py3-none-any.whl", hash = "sha256:d2b1998776a299271b5e055065f14f199bb157b25b333cc7f1504574edbd7012"}, + {file = "airbyte_cdk-0.81.0.tar.gz", hash = "sha256:031f9b5485f4b61b42e325b26a30c12ef990c18135e2beb581e98969d715ab82"}, +] + +[package.dependencies] +airbyte-protocol-models = "*" +backoff = "*" +cachetools = "*" +Deprecated = ">=1.2,<1.3" +dpath = ">=2.0.1,<2.1.0" +genson = "1.2.2" +isodate = ">=0.6.1,<0.7.0" +Jinja2 = ">=3.1.2,<3.2.0" +jsonref = ">=0.2,<0.3" +jsonschema = ">=3.2.0,<3.3.0" +pendulum = "<3.0.0" +pydantic = ">=1.10.8,<2.0.0" +pyrate-limiter = ">=3.1.0,<3.2.0" +python-dateutil = "*" +PyYAML = ">=6.0.1,<7.0.0" +requests = "*" +requests_cache = "*" +wcmatch = "8.4" + +[package.extras] +file-based = ["avro (>=1.11.2,<1.12.0)", "fastavro (>=1.8.0,<1.9.0)", "markdown", "pdf2image (==1.16.3)", "pdfminer.six (==20221105)", "pyarrow (>=15.0.0,<15.1.0)", "pytesseract (==0.3.10)", "unstructured.pytesseract (>=0.3.12)", "unstructured[docx,pptx] (==0.10.27)"] +sphinx-docs = ["Sphinx (>=4.2,<4.3)", "sphinx-rtd-theme (>=1.0,<1.1)"] +vector-db-based = ["cohere (==4.21)", "langchain (==0.0.271)", "openai[embeddings] (==0.27.9)", "tiktoken (==0.4.0)"] + +[[package]] +name = "airbyte-protocol-models" +version = "0.9.0" +description = "Declares the Airbyte Protocol." +optional = false +python-versions = ">=3.8" +files = [ + {file = "airbyte_protocol_models-0.9.0-py3-none-any.whl", hash = "sha256:e972e140b5efd1edad5a338bcae8fdee9fc12545caf2c321e0f61b151c163a9b"}, + {file = "airbyte_protocol_models-0.9.0.tar.gz", hash = "sha256:40b69c33df23fe82d7078e84beb123bd604480e4d73cb277a890fcc92aedc8d2"}, +] + +[package.dependencies] +pydantic = ">=1.9.2,<2.0.0" + +[[package]] +name = "attrs" +version = "23.2.0" +description = "Classes Without Boilerplate" +optional = false +python-versions = ">=3.7" +files = [ + {file = "attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1"}, + {file = "attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"}, +] + +[package.extras] +cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] +dev = ["attrs[tests]", "pre-commit"] +docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"] +tests = ["attrs[tests-no-zope]", "zope-interface"] +tests-mypy = ["mypy (>=1.6)", "pytest-mypy-plugins"] +tests-no-zope = ["attrs[tests-mypy]", "cloudpickle", "hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist[psutil]"] + +[[package]] +name = "backoff" +version = "2.2.1" +description = "Function decoration for backoff and retry" +optional = false +python-versions = ">=3.7,<4.0" +files = [ + {file = "backoff-2.2.1-py3-none-any.whl", hash = "sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8"}, + {file = "backoff-2.2.1.tar.gz", hash = "sha256:03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba"}, +] + +[[package]] +name = "bracex" +version = "2.4" +description = "Bash style brace expander." +optional = false +python-versions = ">=3.8" +files = [ + {file = "bracex-2.4-py3-none-any.whl", hash = "sha256:efdc71eff95eaff5e0f8cfebe7d01adf2c8637c8c92edaf63ef348c241a82418"}, + {file = "bracex-2.4.tar.gz", hash = "sha256:a27eaf1df42cf561fed58b7a8f3fdf129d1ea16a81e1fadd1d17989bc6384beb"}, +] + +[[package]] +name = "cachetools" +version = "5.3.3" +description = "Extensible memoizing collections and decorators" +optional = false +python-versions = ">=3.7" +files = [ + {file = "cachetools-5.3.3-py3-none-any.whl", hash = "sha256:0abad1021d3f8325b2fc1d2e9c8b9c9d57b04c3932657a72465447332c24d945"}, + {file = "cachetools-5.3.3.tar.gz", hash = "sha256:ba29e2dfa0b8b556606f097407ed1aa62080ee108ab0dc5ec9d6a723a007d105"}, +] + +[[package]] +name = "cattrs" +version = "23.2.3" +description = "Composable complex class support for attrs and dataclasses." +optional = false +python-versions = ">=3.8" +files = [ + {file = "cattrs-23.2.3-py3-none-any.whl", hash = "sha256:0341994d94971052e9ee70662542699a3162ea1e0c62f7ce1b4a57f563685108"}, + {file = "cattrs-23.2.3.tar.gz", hash = "sha256:a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f"}, +] + +[package.dependencies] +attrs = ">=23.1.0" +exceptiongroup = {version = ">=1.1.1", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.1.0,<4.6.3 || >4.6.3", markers = "python_version < \"3.11\""} + +[package.extras] +bson = ["pymongo (>=4.4.0)"] +cbor2 = ["cbor2 (>=5.4.6)"] +msgpack = ["msgpack (>=1.0.5)"] +orjson = ["orjson (>=3.9.2)"] +pyyaml = ["pyyaml (>=6.0)"] +tomlkit = ["tomlkit (>=0.11.8)"] +ujson = ["ujson (>=5.7.0)"] + +[[package]] +name = "certifi" +version = "2024.2.2" +description = "Python package for providing Mozilla's CA Bundle." +optional = false +python-versions = ">=3.6" +files = [ + {file = "certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1"}, + {file = "certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f"}, +] + +[[package]] +name = "charset-normalizer" +version = "3.3.2" +description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." +optional = false +python-versions = ">=3.7.0" +files = [ + {file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d"}, + {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"}, +] + +[[package]] +name = "colorama" +version = "0.4.6" +description = "Cross-platform colored terminal text." +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +files = [ + {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, + {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, +] + +[[package]] +name = "deprecated" +version = "1.2.14" +description = "Python @deprecated decorator to deprecate old python classes, functions or methods." +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [ + {file = "Deprecated-1.2.14-py2.py3-none-any.whl", hash = "sha256:6fac8b097794a90302bdbb17b9b815e732d3c4720583ff1b198499d78470466c"}, + {file = "Deprecated-1.2.14.tar.gz", hash = "sha256:e5323eb936458dccc2582dc6f9c322c852a775a27065ff2b0c4970b9d53d01b3"}, +] + +[package.dependencies] +wrapt = ">=1.10,<2" + +[package.extras] +dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "sphinx (<2)", "tox"] + +[[package]] +name = "dpath" +version = "2.0.8" +description = "Filesystem-like pathing and searching for dictionaries" +optional = false +python-versions = ">=3.7" +files = [ + {file = "dpath-2.0.8-py3-none-any.whl", hash = "sha256:f92f595214dd93a00558d75d4b858beee519f4cffca87f02616ad6cd013f3436"}, + {file = "dpath-2.0.8.tar.gz", hash = "sha256:a3440157ebe80d0a3ad794f1b61c571bef125214800ffdb9afc9424e8250fe9b"}, +] + +[[package]] +name = "exceptiongroup" +version = "1.2.0" +description = "Backport of PEP 654 (exception groups)" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"}, + {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"}, +] + +[package.extras] +test = ["pytest (>=6)"] + +[[package]] +name = "genson" +version = "1.2.2" +description = "GenSON is a powerful, user-friendly JSON Schema generator." +optional = false +python-versions = "*" +files = [ + {file = "genson-1.2.2.tar.gz", hash = "sha256:8caf69aa10af7aee0e1a1351d1d06801f4696e005f06cedef438635384346a16"}, +] + +[[package]] +name = "idna" +version = "3.6" +description = "Internationalized Domain Names in Applications (IDNA)" +optional = false +python-versions = ">=3.5" +files = [ + {file = "idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f"}, + {file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"}, +] + +[[package]] +name = "iniconfig" +version = "2.0.0" +description = "brain-dead simple config-ini parsing" +optional = false +python-versions = ">=3.7" +files = [ + {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, + {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, +] + +[[package]] +name = "isodate" +version = "0.6.1" +description = "An ISO 8601 date/time/duration parser and formatter" +optional = false +python-versions = "*" +files = [ + {file = "isodate-0.6.1-py2.py3-none-any.whl", hash = "sha256:0751eece944162659049d35f4f549ed815792b38793f07cf73381c1c87cbed96"}, + {file = "isodate-0.6.1.tar.gz", hash = "sha256:48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9"}, +] + +[package.dependencies] +six = "*" + +[[package]] +name = "jinja2" +version = "3.1.3" +description = "A very fast and expressive template engine." +optional = false +python-versions = ">=3.7" +files = [ + {file = "Jinja2-3.1.3-py3-none-any.whl", hash = "sha256:7d6d50dd97d52cbc355597bd845fabfbac3f551e1f99619e39a35ce8c370b5fa"}, + {file = "Jinja2-3.1.3.tar.gz", hash = "sha256:ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90"}, +] + +[package.dependencies] +MarkupSafe = ">=2.0" + +[package.extras] +i18n = ["Babel (>=2.7)"] + +[[package]] +name = "jsonref" +version = "0.2" +description = "An implementation of JSON Reference for Python" +optional = false +python-versions = "*" +files = [ + {file = "jsonref-0.2-py3-none-any.whl", hash = "sha256:b1e82fa0b62e2c2796a13e5401fe51790b248f6d9bf9d7212a3e31a3501b291f"}, + {file = "jsonref-0.2.tar.gz", hash = "sha256:f3c45b121cf6257eafabdc3a8008763aed1cd7da06dbabc59a9e4d2a5e4e6697"}, +] + +[[package]] +name = "jsonschema" +version = "3.2.0" +description = "An implementation of JSON Schema validation for Python" +optional = false +python-versions = "*" +files = [ + {file = "jsonschema-3.2.0-py2.py3-none-any.whl", hash = "sha256:4e5b3cf8216f577bee9ce139cbe72eca3ea4f292ec60928ff24758ce626cd163"}, + {file = "jsonschema-3.2.0.tar.gz", hash = "sha256:c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"}, +] + +[package.dependencies] +attrs = ">=17.4.0" +pyrsistent = ">=0.14.0" +setuptools = "*" +six = ">=1.11.0" + +[package.extras] +format = ["idna", "jsonpointer (>1.13)", "rfc3987", "strict-rfc3339", "webcolors"] +format-nongpl = ["idna", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3986-validator (>0.1.0)", "webcolors"] + +[[package]] +name = "markupsafe" +version = "2.1.5" +description = "Safely add untrusted strings to HTML/XML markup." +optional = false +python-versions = ">=3.7" +files = [ + {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a17a92de5231666cfbe003f0e4b9b3a7ae3afb1ec2845aadc2bacc93ff85febc"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:72b6be590cc35924b02c78ef34b467da4ba07e4e0f0454a2c5907f473fc50ce5"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e61659ba32cf2cf1481e575d0462554625196a1f2fc06a1c777d3f48e8865d46"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2174c595a0d73a3080ca3257b40096db99799265e1c27cc5a610743acd86d62f"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ae2ad8ae6ebee9d2d94b17fb62763125f3f374c25618198f40cbb8b525411900"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:075202fa5b72c86ad32dc7d0b56024ebdbcf2048c0ba09f1cde31bfdd57bcfff"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:598e3276b64aff0e7b3451b72e94fa3c238d452e7ddcd893c3ab324717456bad"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fce659a462a1be54d2ffcacea5e3ba2d74daa74f30f5f143fe0c58636e355fdd"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-win32.whl", hash = "sha256:d9fad5155d72433c921b782e58892377c44bd6252b5af2f67f16b194987338a4"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl", hash = "sha256:bf50cd79a75d181c9181df03572cdce0fbb75cc353bc350712073108cba98de5"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:629ddd2ca402ae6dbedfceeba9c46d5f7b2a61d9749597d4307f943ef198fc1f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5b7b716f97b52c5a14bffdf688f971b2d5ef4029127f1ad7a513973cfd818df2"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ec585f69cec0aa07d945b20805be741395e28ac1627333b1c5b0105962ffced"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b91c037585eba9095565a3556f611e3cbfaa42ca1e865f7b8015fe5c7336d5a5"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7502934a33b54030eaf1194c21c692a534196063db72176b0c4028e140f8f32c"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0e397ac966fdf721b2c528cf028494e86172b4feba51d65f81ffd65c63798f3f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c061bb86a71b42465156a3ee7bd58c8c2ceacdbeb95d05a99893e08b8467359a"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3a57fdd7ce31c7ff06cdfbf31dafa96cc533c21e443d57f5b1ecc6cdc668ec7f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-win32.whl", hash = "sha256:397081c1a0bfb5124355710fe79478cdbeb39626492b15d399526ae53422b906"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl", hash = "sha256:2b7c57a4dfc4f16f7142221afe5ba4e093e09e728ca65c51f5620c9aaeb9a617"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:3c6b973f22eb18a789b1460b4b91bf04ae3f0c4234a0a6aa6b0a92f6f7b951d4"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac07bad82163452a6884fe8fa0963fb98c2346ba78d779ec06bd7a6262132aee"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5dfb42c4604dddc8e4305050aa6deb084540643ed5804d7455b5df8fe16f5e5"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ea3d8a3d18833cf4304cd2fc9cbb1efe188ca9b5efef2bdac7adc20594a0e46b"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d050b3361367a06d752db6ead6e7edeb0009be66bc3bae0ee9d97fb326badc2a"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:bec0a414d016ac1a18862a519e54b2fd0fc8bbfd6890376898a6c0891dd82e9f"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:58c98fee265677f63a4385256a6d7683ab1832f3ddd1e66fe948d5880c21a169"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-win32.whl", hash = "sha256:8590b4ae07a35970728874632fed7bd57b26b0102df2d2b233b6d9d82f6c62ad"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl", hash = "sha256:823b65d8706e32ad2df51ed89496147a42a2a6e01c13cfb6ffb8b1e92bc910bb"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c8b29db45f8fe46ad280a7294f5c3ec36dbac9491f2d1c17345be8e69cc5928f"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec6a563cff360b50eed26f13adc43e61bc0c04d94b8be985e6fb24b81f6dcfdf"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a549b9c31bec33820e885335b451286e2969a2d9e24879f83fe904a5ce59d70a"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4f11aa001c540f62c6166c7726f71f7573b52c68c31f014c25cc7901deea0b52"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:7b2e5a267c855eea6b4283940daa6e88a285f5f2a67f2220203786dfa59b37e9"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:2d2d793e36e230fd32babe143b04cec8a8b3eb8a3122d2aceb4a371e6b09b8df"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ce409136744f6521e39fd8e2a24c53fa18ad67aa5bc7c2cf83645cce5b5c4e50"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-win32.whl", hash = "sha256:4096e9de5c6fdf43fb4f04c26fb114f61ef0bf2e5604b6ee3019d51b69e8c371"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-win_amd64.whl", hash = "sha256:4275d846e41ecefa46e2015117a9f491e57a71ddd59bbead77e904dc02b1bed2"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:656f7526c69fac7f600bd1f400991cc282b417d17539a1b228617081106feb4a"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:97cafb1f3cbcd3fd2b6fbfb99ae11cdb14deea0736fc2b0952ee177f2b813a46"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f3fbcb7ef1f16e48246f704ab79d79da8a46891e2da03f8783a5b6fa41a9532"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa9db3f79de01457b03d4f01b34cf91bc0048eb2c3846ff26f66687c2f6d16ab"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffee1f21e5ef0d712f9033568f8344d5da8cc2869dbd08d87c84656e6a2d2f68"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:5dedb4db619ba5a2787a94d877bc8ffc0566f92a01c0ef214865e54ecc9ee5e0"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:30b600cf0a7ac9234b2638fbc0fb6158ba5bdcdf46aeb631ead21248b9affbc4"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8dd717634f5a044f860435c1d8c16a270ddf0ef8588d4887037c5028b859b0c3"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-win32.whl", hash = "sha256:daa4ee5a243f0f20d528d939d06670a298dd39b1ad5f8a72a4275124a7819eff"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-win_amd64.whl", hash = "sha256:619bc166c4f2de5caa5a633b8b7326fbe98e0ccbfacabd87268a2b15ff73a029"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7a68b554d356a91cce1236aa7682dc01df0edba8d043fd1ce607c49dd3c1edcf"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:db0b55e0f3cc0be60c1f19efdde9a637c32740486004f20d1cff53c3c0ece4d2"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3e53af139f8579a6d5f7b76549125f0d94d7e630761a2111bc431fd820e163b8"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:17b950fccb810b3293638215058e432159d2b71005c74371d784862b7e4683f3"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c31f53cdae6ecfa91a77820e8b151dba54ab528ba65dfd235c80b086d68a465"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:bff1b4290a66b490a2f4719358c0cdcd9bafb6b8f061e45c7a2460866bf50c2e"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bc1667f8b83f48511b94671e0e441401371dfd0f0a795c7daa4a3cd1dde55bea"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5049256f536511ee3f7e1b3f87d1d1209d327e818e6ae1365e8653d7e3abb6a6"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-win32.whl", hash = "sha256:00e046b6dd71aa03a41079792f8473dc494d564611a8f89bbbd7cb93295ebdcf"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-win_amd64.whl", hash = "sha256:fa173ec60341d6bb97a89f5ea19c85c5643c1e7dedebc22f5181eb73573142c5"}, + {file = "MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"}, +] + +[[package]] +name = "packaging" +version = "24.0" +description = "Core utilities for Python packages" +optional = false +python-versions = ">=3.7" +files = [ + {file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"}, + {file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"}, +] + +[[package]] +name = "pendulum" +version = "2.1.2" +description = "Python datetimes made easy" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +files = [ + {file = "pendulum-2.1.2-cp27-cp27m-macosx_10_15_x86_64.whl", hash = "sha256:b6c352f4bd32dff1ea7066bd31ad0f71f8d8100b9ff709fb343f3b86cee43efe"}, + {file = "pendulum-2.1.2-cp27-cp27m-win_amd64.whl", hash = "sha256:318f72f62e8e23cd6660dbafe1e346950281a9aed144b5c596b2ddabc1d19739"}, + {file = "pendulum-2.1.2-cp35-cp35m-macosx_10_15_x86_64.whl", hash = "sha256:0731f0c661a3cb779d398803655494893c9f581f6488048b3fb629c2342b5394"}, + {file = "pendulum-2.1.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:3481fad1dc3f6f6738bd575a951d3c15d4b4ce7c82dce37cf8ac1483fde6e8b0"}, + {file = "pendulum-2.1.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:9702069c694306297ed362ce7e3c1ef8404ac8ede39f9b28b7c1a7ad8c3959e3"}, + {file = "pendulum-2.1.2-cp35-cp35m-win_amd64.whl", hash = "sha256:fb53ffa0085002ddd43b6ca61a7b34f2d4d7c3ed66f931fe599e1a531b42af9b"}, + {file = "pendulum-2.1.2-cp36-cp36m-macosx_10_15_x86_64.whl", hash = "sha256:c501749fdd3d6f9e726086bf0cd4437281ed47e7bca132ddb522f86a1645d360"}, + {file = "pendulum-2.1.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:c807a578a532eeb226150d5006f156632df2cc8c5693d778324b43ff8c515dd0"}, + {file = "pendulum-2.1.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:2d1619a721df661e506eff8db8614016f0720ac171fe80dda1333ee44e684087"}, + {file = "pendulum-2.1.2-cp36-cp36m-win_amd64.whl", hash = "sha256:f888f2d2909a414680a29ae74d0592758f2b9fcdee3549887779cd4055e975db"}, + {file = "pendulum-2.1.2-cp37-cp37m-macosx_10_15_x86_64.whl", hash = "sha256:e95d329384717c7bf627bf27e204bc3b15c8238fa8d9d9781d93712776c14002"}, + {file = "pendulum-2.1.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:4c9c689747f39d0d02a9f94fcee737b34a5773803a64a5fdb046ee9cac7442c5"}, + {file = "pendulum-2.1.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:1245cd0075a3c6d889f581f6325dd8404aca5884dea7223a5566c38aab94642b"}, + {file = "pendulum-2.1.2-cp37-cp37m-win_amd64.whl", hash = "sha256:db0a40d8bcd27b4fb46676e8eb3c732c67a5a5e6bfab8927028224fbced0b40b"}, + {file = "pendulum-2.1.2-cp38-cp38-macosx_10_15_x86_64.whl", hash = "sha256:f5e236e7730cab1644e1b87aca3d2ff3e375a608542e90fe25685dae46310116"}, + {file = "pendulum-2.1.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:de42ea3e2943171a9e95141f2eecf972480636e8e484ccffaf1e833929e9e052"}, + {file = "pendulum-2.1.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:7c5ec650cb4bec4c63a89a0242cc8c3cebcec92fcfe937c417ba18277d8560be"}, + {file = "pendulum-2.1.2-cp38-cp38-win_amd64.whl", hash = "sha256:33fb61601083f3eb1d15edeb45274f73c63b3c44a8524703dc143f4212bf3269"}, + {file = "pendulum-2.1.2-cp39-cp39-manylinux1_i686.whl", hash = "sha256:29c40a6f2942376185728c9a0347d7c0f07905638c83007e1d262781f1e6953a"}, + {file = "pendulum-2.1.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:94b1fc947bfe38579b28e1cccb36f7e28a15e841f30384b5ad6c5e31055c85d7"}, + {file = "pendulum-2.1.2.tar.gz", hash = "sha256:b06a0ca1bfe41c990bbf0c029f0b6501a7f2ec4e38bfec730712015e8860f207"}, +] + +[package.dependencies] +python-dateutil = ">=2.6,<3.0" +pytzdata = ">=2020.1" + +[[package]] +name = "platformdirs" +version = "4.2.0" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +optional = false +python-versions = ">=3.8" +files = [ + {file = "platformdirs-4.2.0-py3-none-any.whl", hash = "sha256:0614df2a2f37e1a662acbd8e2b25b92ccf8632929bc6d43467e17fe89c75e068"}, + {file = "platformdirs-4.2.0.tar.gz", hash = "sha256:ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8ddad8768"}, +] + +[package.extras] +docs = ["furo (>=2023.9.10)", "proselint (>=0.13)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)"] + +[[package]] +name = "pluggy" +version = "1.4.0" +description = "plugin and hook calling mechanisms for python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pluggy-1.4.0-py3-none-any.whl", hash = "sha256:7db9f7b503d67d1c5b95f59773ebb58a8c1c288129a88665838012cfb07b8981"}, + {file = "pluggy-1.4.0.tar.gz", hash = "sha256:8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be"}, +] + +[package.extras] +dev = ["pre-commit", "tox"] +testing = ["pytest", "pytest-benchmark"] + +[[package]] +name = "pydantic" +version = "1.10.15" +description = "Data validation and settings management using python type hints" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pydantic-1.10.15-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:22ed12ee588b1df028a2aa5d66f07bf8f8b4c8579c2e96d5a9c1f96b77f3bb55"}, + {file = "pydantic-1.10.15-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:75279d3cac98186b6ebc2597b06bcbc7244744f6b0b44a23e4ef01e5683cc0d2"}, + {file = "pydantic-1.10.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50f1666a9940d3d68683c9d96e39640f709d7a72ff8702987dab1761036206bb"}, + {file = "pydantic-1.10.15-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:82790d4753ee5d00739d6cb5cf56bceb186d9d6ce134aca3ba7befb1eedbc2c8"}, + {file = "pydantic-1.10.15-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:d207d5b87f6cbefbdb1198154292faee8017d7495a54ae58db06762004500d00"}, + {file = "pydantic-1.10.15-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e49db944fad339b2ccb80128ffd3f8af076f9f287197a480bf1e4ca053a866f0"}, + {file = "pydantic-1.10.15-cp310-cp310-win_amd64.whl", hash = "sha256:d3b5c4cbd0c9cb61bbbb19ce335e1f8ab87a811f6d589ed52b0254cf585d709c"}, + {file = "pydantic-1.10.15-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c3d5731a120752248844676bf92f25a12f6e45425e63ce22e0849297a093b5b0"}, + {file = "pydantic-1.10.15-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c365ad9c394f9eeffcb30a82f4246c0006417f03a7c0f8315d6211f25f7cb654"}, + {file = "pydantic-1.10.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3287e1614393119c67bd4404f46e33ae3be3ed4cd10360b48d0a4459f420c6a3"}, + {file = "pydantic-1.10.15-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:be51dd2c8596b25fe43c0a4a59c2bee4f18d88efb8031188f9e7ddc6b469cf44"}, + {file = "pydantic-1.10.15-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:6a51a1dd4aa7b3f1317f65493a182d3cff708385327c1c82c81e4a9d6d65b2e4"}, + {file = "pydantic-1.10.15-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:4e316e54b5775d1eb59187f9290aeb38acf620e10f7fd2f776d97bb788199e53"}, + {file = "pydantic-1.10.15-cp311-cp311-win_amd64.whl", hash = "sha256:0d142fa1b8f2f0ae11ddd5e3e317dcac060b951d605fda26ca9b234b92214986"}, + {file = "pydantic-1.10.15-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:7ea210336b891f5ea334f8fc9f8f862b87acd5d4a0cbc9e3e208e7aa1775dabf"}, + {file = "pydantic-1.10.15-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3453685ccd7140715e05f2193d64030101eaad26076fad4e246c1cc97e1bb30d"}, + {file = "pydantic-1.10.15-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9bea1f03b8d4e8e86702c918ccfd5d947ac268f0f0cc6ed71782e4b09353b26f"}, + {file = "pydantic-1.10.15-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:005655cabc29081de8243126e036f2065bd7ea5b9dff95fde6d2c642d39755de"}, + {file = "pydantic-1.10.15-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:af9850d98fc21e5bc24ea9e35dd80a29faf6462c608728a110c0a30b595e58b7"}, + {file = "pydantic-1.10.15-cp37-cp37m-win_amd64.whl", hash = "sha256:d31ee5b14a82c9afe2bd26aaa405293d4237d0591527d9129ce36e58f19f95c1"}, + {file = "pydantic-1.10.15-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5e09c19df304b8123938dc3c53d3d3be6ec74b9d7d0d80f4f4b5432ae16c2022"}, + {file = "pydantic-1.10.15-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7ac9237cd62947db00a0d16acf2f3e00d1ae9d3bd602b9c415f93e7a9fc10528"}, + {file = "pydantic-1.10.15-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:584f2d4c98ffec420e02305cf675857bae03c9d617fcfdc34946b1160213a948"}, + {file = "pydantic-1.10.15-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bbc6989fad0c030bd70a0b6f626f98a862224bc2b1e36bfc531ea2facc0a340c"}, + {file = "pydantic-1.10.15-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:d573082c6ef99336f2cb5b667b781d2f776d4af311574fb53d908517ba523c22"}, + {file = "pydantic-1.10.15-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6bd7030c9abc80134087d8b6e7aa957e43d35714daa116aced57269a445b8f7b"}, + {file = "pydantic-1.10.15-cp38-cp38-win_amd64.whl", hash = "sha256:3350f527bb04138f8aff932dc828f154847fbdc7a1a44c240fbfff1b57f49a12"}, + {file = "pydantic-1.10.15-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:51d405b42f1b86703555797270e4970a9f9bd7953f3990142e69d1037f9d9e51"}, + {file = "pydantic-1.10.15-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a980a77c52723b0dc56640ced396b73a024d4b74f02bcb2d21dbbac1debbe9d0"}, + {file = "pydantic-1.10.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:67f1a1fb467d3f49e1708a3f632b11c69fccb4e748a325d5a491ddc7b5d22383"}, + {file = "pydantic-1.10.15-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:676ed48f2c5bbad835f1a8ed8a6d44c1cd5a21121116d2ac40bd1cd3619746ed"}, + {file = "pydantic-1.10.15-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:92229f73400b80c13afcd050687f4d7e88de9234d74b27e6728aa689abcf58cc"}, + {file = "pydantic-1.10.15-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:2746189100c646682eff0bce95efa7d2e203420d8e1c613dc0c6b4c1d9c1fde4"}, + {file = "pydantic-1.10.15-cp39-cp39-win_amd64.whl", hash = "sha256:394f08750bd8eaad714718812e7fab615f873b3cdd0b9d84e76e51ef3b50b6b7"}, + {file = "pydantic-1.10.15-py3-none-any.whl", hash = "sha256:28e552a060ba2740d0d2aabe35162652c1459a0b9069fe0db7f4ee0e18e74d58"}, + {file = "pydantic-1.10.15.tar.gz", hash = "sha256:ca832e124eda231a60a041da4f013e3ff24949d94a01154b137fc2f2a43c3ffb"}, +] + +[package.dependencies] +typing-extensions = ">=4.2.0" + +[package.extras] +dotenv = ["python-dotenv (>=0.10.4)"] +email = ["email-validator (>=1.0.3)"] + +[[package]] +name = "pyrate-limiter" +version = "3.1.1" +description = "Python Rate-Limiter using Leaky-Bucket Algorithm" +optional = false +python-versions = ">=3.8,<4.0" +files = [ + {file = "pyrate_limiter-3.1.1-py3-none-any.whl", hash = "sha256:c51906f1d51d56dc992ff6c26e8300e32151bc6cfa3e6559792e31971dfd4e2b"}, + {file = "pyrate_limiter-3.1.1.tar.gz", hash = "sha256:2f57eda712687e6eccddf6afe8f8a15b409b97ed675fe64a626058f12863b7b7"}, +] + +[package.extras] +all = ["filelock (>=3.0)", "redis (>=5.0.0,<6.0.0)"] +docs = ["furo (>=2022.3.4,<2023.0.0)", "myst-parser (>=0.17)", "sphinx (>=4.3.0,<5.0.0)", "sphinx-autodoc-typehints (>=1.17,<2.0)", "sphinx-copybutton (>=0.5)", "sphinxcontrib-apidoc (>=0.3,<0.4)"] + +[[package]] +name = "pyrsistent" +version = "0.20.0" +description = "Persistent/Functional/Immutable data structures" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pyrsistent-0.20.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8c3aba3e01235221e5b229a6c05f585f344734bd1ad42a8ac51493d74722bbce"}, + {file = "pyrsistent-0.20.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c1beb78af5423b879edaf23c5591ff292cf7c33979734c99aa66d5914ead880f"}, + {file = "pyrsistent-0.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21cc459636983764e692b9eba7144cdd54fdec23ccdb1e8ba392a63666c60c34"}, + {file = "pyrsistent-0.20.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f5ac696f02b3fc01a710427585c855f65cd9c640e14f52abe52020722bb4906b"}, + {file = "pyrsistent-0.20.0-cp310-cp310-win32.whl", hash = "sha256:0724c506cd8b63c69c7f883cc233aac948c1ea946ea95996ad8b1380c25e1d3f"}, + {file = "pyrsistent-0.20.0-cp310-cp310-win_amd64.whl", hash = "sha256:8441cf9616d642c475684d6cf2520dd24812e996ba9af15e606df5f6fd9d04a7"}, + {file = "pyrsistent-0.20.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0f3b1bcaa1f0629c978b355a7c37acd58907390149b7311b5db1b37648eb6958"}, + {file = "pyrsistent-0.20.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5cdd7ef1ea7a491ae70d826b6cc64868de09a1d5ff9ef8d574250d0940e275b8"}, + {file = "pyrsistent-0.20.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cae40a9e3ce178415040a0383f00e8d68b569e97f31928a3a8ad37e3fde6df6a"}, + {file = "pyrsistent-0.20.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6288b3fa6622ad8a91e6eb759cfc48ff3089e7c17fb1d4c59a919769314af224"}, + {file = "pyrsistent-0.20.0-cp311-cp311-win32.whl", hash = "sha256:7d29c23bdf6e5438c755b941cef867ec2a4a172ceb9f50553b6ed70d50dfd656"}, + {file = "pyrsistent-0.20.0-cp311-cp311-win_amd64.whl", hash = "sha256:59a89bccd615551391f3237e00006a26bcf98a4d18623a19909a2c48b8e986ee"}, + {file = "pyrsistent-0.20.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:09848306523a3aba463c4b49493a760e7a6ca52e4826aa100ee99d8d39b7ad1e"}, + {file = "pyrsistent-0.20.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a14798c3005ec892bbada26485c2eea3b54109cb2533713e355c806891f63c5e"}, + {file = "pyrsistent-0.20.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b14decb628fac50db5e02ee5a35a9c0772d20277824cfe845c8a8b717c15daa3"}, + {file = "pyrsistent-0.20.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2e2c116cc804d9b09ce9814d17df5edf1df0c624aba3b43bc1ad90411487036d"}, + {file = "pyrsistent-0.20.0-cp312-cp312-win32.whl", hash = "sha256:e78d0c7c1e99a4a45c99143900ea0546025e41bb59ebc10182e947cf1ece9174"}, + {file = "pyrsistent-0.20.0-cp312-cp312-win_amd64.whl", hash = "sha256:4021a7f963d88ccd15b523787d18ed5e5269ce57aa4037146a2377ff607ae87d"}, + {file = "pyrsistent-0.20.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:79ed12ba79935adaac1664fd7e0e585a22caa539dfc9b7c7c6d5ebf91fb89054"}, + {file = "pyrsistent-0.20.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f920385a11207dc372a028b3f1e1038bb244b3ec38d448e6d8e43c6b3ba20e98"}, + {file = "pyrsistent-0.20.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f5c2d012671b7391803263419e31b5c7c21e7c95c8760d7fc35602353dee714"}, + {file = "pyrsistent-0.20.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ef3992833fbd686ee783590639f4b8343a57f1f75de8633749d984dc0eb16c86"}, + {file = "pyrsistent-0.20.0-cp38-cp38-win32.whl", hash = "sha256:881bbea27bbd32d37eb24dd320a5e745a2a5b092a17f6debc1349252fac85423"}, + {file = "pyrsistent-0.20.0-cp38-cp38-win_amd64.whl", hash = "sha256:6d270ec9dd33cdb13f4d62c95c1a5a50e6b7cdd86302b494217137f760495b9d"}, + {file = "pyrsistent-0.20.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:ca52d1ceae015859d16aded12584c59eb3825f7b50c6cfd621d4231a6cc624ce"}, + {file = "pyrsistent-0.20.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b318ca24db0f0518630e8b6f3831e9cba78f099ed5c1d65ffe3e023003043ba0"}, + {file = "pyrsistent-0.20.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fed2c3216a605dc9a6ea50c7e84c82906e3684c4e80d2908208f662a6cbf9022"}, + {file = "pyrsistent-0.20.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2e14c95c16211d166f59c6611533d0dacce2e25de0f76e4c140fde250997b3ca"}, + {file = "pyrsistent-0.20.0-cp39-cp39-win32.whl", hash = "sha256:f058a615031eea4ef94ead6456f5ec2026c19fb5bd6bfe86e9665c4158cf802f"}, + {file = "pyrsistent-0.20.0-cp39-cp39-win_amd64.whl", hash = "sha256:58b8f6366e152092194ae68fefe18b9f0b4f89227dfd86a07770c3d86097aebf"}, + {file = "pyrsistent-0.20.0-py3-none-any.whl", hash = "sha256:c55acc4733aad6560a7f5f818466631f07efc001fd023f34a6c203f8b6df0f0b"}, + {file = "pyrsistent-0.20.0.tar.gz", hash = "sha256:4c48f78f62ab596c679086084d0dd13254ae4f3d6c72a83ffdf5ebdef8f265a4"}, +] + +[[package]] +name = "pytest" +version = "8.1.1" +description = "pytest: simple powerful testing with Python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pytest-8.1.1-py3-none-any.whl", hash = "sha256:2a8386cfc11fa9d2c50ee7b2a57e7d898ef90470a7a34c4b949ff59662bb78b7"}, + {file = "pytest-8.1.1.tar.gz", hash = "sha256:ac978141a75948948817d360297b7aae0fcb9d6ff6bc9ec6d514b85d5a65c044"}, +] + +[package.dependencies] +colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} +iniconfig = "*" +packaging = "*" +pluggy = ">=1.4,<2.0" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} + +[package.extras] +testing = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] + +[[package]] +name = "pytest-mock" +version = "3.14.0" +description = "Thin-wrapper around the mock package for easier use with pytest" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pytest-mock-3.14.0.tar.gz", hash = "sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0"}, + {file = "pytest_mock-3.14.0-py3-none-any.whl", hash = "sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f"}, +] + +[package.dependencies] +pytest = ">=6.2.5" + +[package.extras] +dev = ["pre-commit", "pytest-asyncio", "tox"] + +[[package]] +name = "python-dateutil" +version = "2.9.0.post0" +description = "Extensions to the standard Python datetime module" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +files = [ + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, +] + +[package.dependencies] +six = ">=1.5" + +[[package]] +name = "pytzdata" +version = "2020.1" +description = "The Olson timezone database for Python." +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [ + {file = "pytzdata-2020.1-py2.py3-none-any.whl", hash = "sha256:e1e14750bcf95016381e4d472bad004eef710f2d6417240904070b3d6654485f"}, + {file = "pytzdata-2020.1.tar.gz", hash = "sha256:3efa13b335a00a8de1d345ae41ec78dd11c9f8807f522d39850f2dd828681540"}, +] + +[[package]] +name = "pyyaml" +version = "6.0.1" +description = "YAML parser and emitter for Python" +optional = false +python-versions = ">=3.6" +files = [ + {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, + {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, + {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, + {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, + {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, + {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, + {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, + {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, + {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, + {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, + {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, + {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, + {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, + {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, + {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, + {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, + {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, + {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, + {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, + {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, + {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, + {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, + {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, + {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, + {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, + {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, + {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, + {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, + {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, +] + +[[package]] +name = "requests" +version = "2.31.0" +description = "Python HTTP for Humans." +optional = false +python-versions = ">=3.7" +files = [ + {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, + {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, +] + +[package.dependencies] +certifi = ">=2017.4.17" +charset-normalizer = ">=2,<4" +idna = ">=2.5,<4" +urllib3 = ">=1.21.1,<3" + +[package.extras] +socks = ["PySocks (>=1.5.6,!=1.5.7)"] +use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] + +[[package]] +name = "requests-cache" +version = "1.2.0" +description = "A persistent cache for python requests" +optional = false +python-versions = ">=3.8" +files = [ + {file = "requests_cache-1.2.0-py3-none-any.whl", hash = "sha256:490324301bf0cb924ff4e6324bd2613453e7e1f847353928b08adb0fdfb7f722"}, + {file = "requests_cache-1.2.0.tar.gz", hash = "sha256:db1c709ca343cc1cd5b6c8b1a5387298eceed02306a6040760db538c885e3838"}, +] + +[package.dependencies] +attrs = ">=21.2" +cattrs = ">=22.2" +platformdirs = ">=2.5" +requests = ">=2.22" +url-normalize = ">=1.4" +urllib3 = ">=1.25.5" + +[package.extras] +all = ["boto3 (>=1.15)", "botocore (>=1.18)", "itsdangerous (>=2.0)", "pymongo (>=3)", "pyyaml (>=6.0.1)", "redis (>=3)", "ujson (>=5.4)"] +bson = ["bson (>=0.5)"] +docs = ["furo (>=2023.3,<2024.0)", "linkify-it-py (>=2.0,<3.0)", "myst-parser (>=1.0,<2.0)", "sphinx (>=5.0.2,<6.0.0)", "sphinx-autodoc-typehints (>=1.19)", "sphinx-automodapi (>=0.14)", "sphinx-copybutton (>=0.5)", "sphinx-design (>=0.2)", "sphinx-notfound-page (>=0.8)", "sphinxcontrib-apidoc (>=0.3)", "sphinxext-opengraph (>=0.9)"] +dynamodb = ["boto3 (>=1.15)", "botocore (>=1.18)"] +json = ["ujson (>=5.4)"] +mongodb = ["pymongo (>=3)"] +redis = ["redis (>=3)"] +security = ["itsdangerous (>=2.0)"] +yaml = ["pyyaml (>=6.0.1)"] + +[[package]] +name = "requests-mock" +version = "1.12.1" +description = "Mock out responses from the requests package" +optional = false +python-versions = ">=3.5" +files = [ + {file = "requests-mock-1.12.1.tar.gz", hash = "sha256:e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401"}, + {file = "requests_mock-1.12.1-py2.py3-none-any.whl", hash = "sha256:b1e37054004cdd5e56c84454cc7df12b25f90f382159087f4b6915aaeef39563"}, +] + +[package.dependencies] +requests = ">=2.22,<3" + +[package.extras] +fixture = ["fixtures"] + +[[package]] +name = "setuptools" +version = "69.2.0" +description = "Easily download, build, install, upgrade, and uninstall Python packages" +optional = false +python-versions = ">=3.8" +files = [ + {file = "setuptools-69.2.0-py3-none-any.whl", hash = "sha256:c21c49fb1042386df081cb5d86759792ab89efca84cf114889191cd09aacc80c"}, + {file = "setuptools-69.2.0.tar.gz", hash = "sha256:0ff4183f8f42cd8fa3acea16c45205521a4ef28f73c6391d8a25e92893134f2e"}, +] + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +testing = ["build[virtualenv]", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mypy (==1.9)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] + +[[package]] +name = "six" +version = "1.16.0" +description = "Python 2 and 3 compatibility utilities" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +files = [ + {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, + {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, +] + +[[package]] +name = "tomli" +version = "2.0.1" +description = "A lil' TOML parser" +optional = false +python-versions = ">=3.7" +files = [ + {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, + {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, +] + +[[package]] +name = "typing-extensions" +version = "4.11.0" +description = "Backported and Experimental Type Hints for Python 3.8+" +optional = false +python-versions = ">=3.8" +files = [ + {file = "typing_extensions-4.11.0-py3-none-any.whl", hash = "sha256:c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a"}, + {file = "typing_extensions-4.11.0.tar.gz", hash = "sha256:83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0"}, +] + +[[package]] +name = "url-normalize" +version = "1.4.3" +description = "URL normalization for Python" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" +files = [ + {file = "url-normalize-1.4.3.tar.gz", hash = "sha256:d23d3a070ac52a67b83a1c59a0e68f8608d1cd538783b401bc9de2c0fac999b2"}, + {file = "url_normalize-1.4.3-py2.py3-none-any.whl", hash = "sha256:ec3c301f04e5bb676d333a7fa162fa977ad2ca04b7e652bfc9fac4e405728eed"}, +] + +[package.dependencies] +six = "*" + +[[package]] +name = "urllib3" +version = "2.2.1" +description = "HTTP library with thread-safe connection pooling, file post, and more." +optional = false +python-versions = ">=3.8" +files = [ + {file = "urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d"}, + {file = "urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"}, +] + +[package.extras] +brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] +h2 = ["h2 (>=4,<5)"] +socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] +zstd = ["zstandard (>=0.18.0)"] + +[[package]] +name = "wcmatch" +version = "8.4" +description = "Wildcard/glob file name matcher." +optional = false +python-versions = ">=3.7" +files = [ + {file = "wcmatch-8.4-py3-none-any.whl", hash = "sha256:dc7351e5a7f8bbf4c6828d51ad20c1770113f5f3fd3dfe2a03cfde2a63f03f98"}, + {file = "wcmatch-8.4.tar.gz", hash = "sha256:ba4fc5558f8946bf1ffc7034b05b814d825d694112499c86035e0e4d398b6a67"}, +] + +[package.dependencies] +bracex = ">=2.1.1" + +[[package]] +name = "wrapt" +version = "1.16.0" +description = "Module for decorators, wrappers and monkey patching." +optional = false +python-versions = ">=3.6" +files = [ + {file = "wrapt-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ffa565331890b90056c01db69c0fe634a776f8019c143a5ae265f9c6bc4bd6d4"}, + {file = "wrapt-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e4fdb9275308292e880dcbeb12546df7f3e0f96c6b41197e0cf37d2826359020"}, + {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb2dee3874a500de01c93d5c71415fcaef1d858370d405824783e7a8ef5db440"}, + {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2a88e6010048489cda82b1326889ec075a8c856c2e6a256072b28eaee3ccf487"}, + {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ac83a914ebaf589b69f7d0a1277602ff494e21f4c2f743313414378f8f50a4cf"}, + {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:73aa7d98215d39b8455f103de64391cb79dfcad601701a3aa0dddacf74911d72"}, + {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:807cc8543a477ab7422f1120a217054f958a66ef7314f76dd9e77d3f02cdccd0"}, + {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bf5703fdeb350e36885f2875d853ce13172ae281c56e509f4e6eca049bdfb136"}, + {file = "wrapt-1.16.0-cp310-cp310-win32.whl", hash = "sha256:f6b2d0c6703c988d334f297aa5df18c45e97b0af3679bb75059e0e0bd8b1069d"}, + {file = "wrapt-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:decbfa2f618fa8ed81c95ee18a387ff973143c656ef800c9f24fb7e9c16054e2"}, + {file = "wrapt-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1a5db485fe2de4403f13fafdc231b0dbae5eca4359232d2efc79025527375b09"}, + {file = "wrapt-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:75ea7d0ee2a15733684badb16de6794894ed9c55aa5e9903260922f0482e687d"}, + {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a452f9ca3e3267cd4d0fcf2edd0d035b1934ac2bd7e0e57ac91ad6b95c0c6389"}, + {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:43aa59eadec7890d9958748db829df269f0368521ba6dc68cc172d5d03ed8060"}, + {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:72554a23c78a8e7aa02abbd699d129eead8b147a23c56e08d08dfc29cfdddca1"}, + {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d2efee35b4b0a347e0d99d28e884dfd82797852d62fcd7ebdeee26f3ceb72cf3"}, + {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:6dcfcffe73710be01d90cae08c3e548d90932d37b39ef83969ae135d36ef3956"}, + {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:eb6e651000a19c96f452c85132811d25e9264d836951022d6e81df2fff38337d"}, + {file = "wrapt-1.16.0-cp311-cp311-win32.whl", hash = "sha256:66027d667efe95cc4fa945af59f92c5a02c6f5bb6012bff9e60542c74c75c362"}, + {file = "wrapt-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:aefbc4cb0a54f91af643660a0a150ce2c090d3652cf4052a5397fb2de549cd89"}, + {file = "wrapt-1.16.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5eb404d89131ec9b4f748fa5cfb5346802e5ee8836f57d516576e61f304f3b7b"}, + {file = "wrapt-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9090c9e676d5236a6948330e83cb89969f433b1943a558968f659ead07cb3b36"}, + {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94265b00870aa407bd0cbcfd536f17ecde43b94fb8d228560a1e9d3041462d73"}, + {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f2058f813d4f2b5e3a9eb2eb3faf8f1d99b81c3e51aeda4b168406443e8ba809"}, + {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98b5e1f498a8ca1858a1cdbffb023bfd954da4e3fa2c0cb5853d40014557248b"}, + {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:14d7dc606219cdd7405133c713f2c218d4252f2a469003f8c46bb92d5d095d81"}, + {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:49aac49dc4782cb04f58986e81ea0b4768e4ff197b57324dcbd7699c5dfb40b9"}, + {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:418abb18146475c310d7a6dc71143d6f7adec5b004ac9ce08dc7a34e2babdc5c"}, + {file = "wrapt-1.16.0-cp312-cp312-win32.whl", hash = "sha256:685f568fa5e627e93f3b52fda002c7ed2fa1800b50ce51f6ed1d572d8ab3e7fc"}, + {file = "wrapt-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:dcdba5c86e368442528f7060039eda390cc4091bfd1dca41e8046af7c910dda8"}, + {file = "wrapt-1.16.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:d462f28826f4657968ae51d2181a074dfe03c200d6131690b7d65d55b0f360f8"}, + {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a33a747400b94b6d6b8a165e4480264a64a78c8a4c734b62136062e9a248dd39"}, + {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b3646eefa23daeba62643a58aac816945cadc0afaf21800a1421eeba5f6cfb9c"}, + {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ebf019be5c09d400cf7b024aa52b1f3aeebeff51550d007e92c3c1c4afc2a40"}, + {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:0d2691979e93d06a95a26257adb7bfd0c93818e89b1406f5a28f36e0d8c1e1fc"}, + {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:1acd723ee2a8826f3d53910255643e33673e1d11db84ce5880675954183ec47e"}, + {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:bc57efac2da352a51cc4658878a68d2b1b67dbe9d33c36cb826ca449d80a8465"}, + {file = "wrapt-1.16.0-cp36-cp36m-win32.whl", hash = "sha256:da4813f751142436b075ed7aa012a8778aa43a99f7b36afe9b742d3ed8bdc95e"}, + {file = "wrapt-1.16.0-cp36-cp36m-win_amd64.whl", hash = "sha256:6f6eac2360f2d543cc875a0e5efd413b6cbd483cb3ad7ebf888884a6e0d2e966"}, + {file = "wrapt-1.16.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a0ea261ce52b5952bf669684a251a66df239ec6d441ccb59ec7afa882265d593"}, + {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bd2d7ff69a2cac767fbf7a2b206add2e9a210e57947dd7ce03e25d03d2de292"}, + {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9159485323798c8dc530a224bd3ffcf76659319ccc7bbd52e01e73bd0241a0c5"}, + {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a86373cf37cd7764f2201b76496aba58a52e76dedfaa698ef9e9688bfd9e41cf"}, + {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:73870c364c11f03ed072dda68ff7aea6d2a3a5c3fe250d917a429c7432e15228"}, + {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:b935ae30c6e7400022b50f8d359c03ed233d45b725cfdd299462f41ee5ffba6f"}, + {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:db98ad84a55eb09b3c32a96c576476777e87c520a34e2519d3e59c44710c002c"}, + {file = "wrapt-1.16.0-cp37-cp37m-win32.whl", hash = "sha256:9153ed35fc5e4fa3b2fe97bddaa7cbec0ed22412b85bcdaf54aeba92ea37428c"}, + {file = "wrapt-1.16.0-cp37-cp37m-win_amd64.whl", hash = "sha256:66dfbaa7cfa3eb707bbfcd46dab2bc6207b005cbc9caa2199bcbc81d95071a00"}, + {file = "wrapt-1.16.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1dd50a2696ff89f57bd8847647a1c363b687d3d796dc30d4dd4a9d1689a706f0"}, + {file = "wrapt-1.16.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:44a2754372e32ab315734c6c73b24351d06e77ffff6ae27d2ecf14cf3d229202"}, + {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e9723528b9f787dc59168369e42ae1c3b0d3fadb2f1a71de14531d321ee05b0"}, + {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dbed418ba5c3dce92619656802cc5355cb679e58d0d89b50f116e4a9d5a9603e"}, + {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:941988b89b4fd6b41c3f0bfb20e92bd23746579736b7343283297c4c8cbae68f"}, + {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6a42cd0cfa8ffc1915aef79cb4284f6383d8a3e9dcca70c445dcfdd639d51267"}, + {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:1ca9b6085e4f866bd584fb135a041bfc32cab916e69f714a7d1d397f8c4891ca"}, + {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d5e49454f19ef621089e204f862388d29e6e8d8b162efce05208913dde5b9ad6"}, + {file = "wrapt-1.16.0-cp38-cp38-win32.whl", hash = "sha256:c31f72b1b6624c9d863fc095da460802f43a7c6868c5dda140f51da24fd47d7b"}, + {file = "wrapt-1.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:490b0ee15c1a55be9c1bd8609b8cecd60e325f0575fc98f50058eae366e01f41"}, + {file = "wrapt-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9b201ae332c3637a42f02d1045e1d0cccfdc41f1f2f801dafbaa7e9b4797bfc2"}, + {file = "wrapt-1.16.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2076fad65c6736184e77d7d4729b63a6d1ae0b70da4868adeec40989858eb3fb"}, + {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c5cd603b575ebceca7da5a3a251e69561bec509e0b46e4993e1cac402b7247b8"}, + {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b47cfad9e9bbbed2339081f4e346c93ecd7ab504299403320bf85f7f85c7d46c"}, + {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f8212564d49c50eb4565e502814f694e240c55551a5f1bc841d4fcaabb0a9b8a"}, + {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5f15814a33e42b04e3de432e573aa557f9f0f56458745c2074952f564c50e664"}, + {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:db2e408d983b0e61e238cf579c09ef7020560441906ca990fe8412153e3b291f"}, + {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:edfad1d29c73f9b863ebe7082ae9321374ccb10879eeabc84ba3b69f2579d537"}, + {file = "wrapt-1.16.0-cp39-cp39-win32.whl", hash = "sha256:ed867c42c268f876097248e05b6117a65bcd1e63b779e916fe2e33cd6fd0d3c3"}, + {file = "wrapt-1.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:eb1b046be06b0fce7249f1d025cd359b4b80fc1c3e24ad9eca33e0dcdb2e4a35"}, + {file = "wrapt-1.16.0-py3-none-any.whl", hash = "sha256:6906c4100a8fcbf2fa735f6059214bb13b97f75b1a61777fcf6432121ef12ef1"}, + {file = "wrapt-1.16.0.tar.gz", hash = "sha256:5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"}, +] + +[metadata] +lock-version = "2.0" +python-versions = "^3.9,<3.12" +content-hash = "acd5908c82765b55ec5859799db1bcbb616d044db689a3ba94346d8b1d2f9b5c" diff --git a/airbyte-integrations/connectors/source-microsoft-teams/pyproject.toml b/airbyte-integrations/connectors/source-microsoft-teams/pyproject.toml new file mode 100644 index 000000000000..11649fe3788e --- /dev/null +++ b/airbyte-integrations/connectors/source-microsoft-teams/pyproject.toml @@ -0,0 +1,27 @@ +[build-system] +requires = [ "poetry-core>=1.0.0",] +build-backend = "poetry.core.masonry.api" + +[tool.poetry] +version = "1.1.0" +name = "source-microsoft-teams" +description = "Source implementation for microsoft-teams." +authors = [ "Airbyte ",] +license = "MIT" +readme = "README.md" +documentation = "https://docs.airbyte.com/integrations/sources/microsoft-teams" +homepage = "https://airbyte.com" +repository = "https://github.com/airbytehq/airbyte" +packages = [ { include = "source_microsoft_teams" }, {include = "main.py" } ] + +[tool.poetry.dependencies] +python = "^3.9,<3.12" +airbyte-cdk = "^0" + +[tool.poetry.scripts] +source-microsoft-teams = "source_microsoft_teams.run:run" + +[tool.poetry.group.dev.dependencies] +requests-mock = "*" +pytest-mock = "*" +pytest = "*" diff --git a/airbyte-integrations/connectors/source-microsoft-teams/requirements.txt b/airbyte-integrations/connectors/source-microsoft-teams/requirements.txt deleted file mode 100644 index 7b9114ed5867..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -# This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e . diff --git a/airbyte-integrations/connectors/source-microsoft-teams/sample_files/catalog.json b/airbyte-integrations/connectors/source-microsoft-teams/sample_files/catalog.json deleted file mode 100644 index b0b9df76c74d..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/sample_files/catalog.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "streams": [ - { - "stream": { - "name": "group_owners", - "supported_sync_modes": ["full_refresh"], - "source_defined_cursor": false, - "json_schema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", - "properties": { - "id": { - "type": ["null", "string"] - }, - "group_id": { - "type": ["null", "string"] - }, - "business_phones": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "display_name": { - "type": ["null", "string"] - }, - "given_name": { - "type": ["null", "string"] - }, - "job_title": { - "type": ["null", "string"] - }, - "mail": { - "type": ["null", "string"] - }, - "mobile_phone": { - "type": ["null", "string"] - }, - "office_location": { - "type": ["null", "string"] - }, - "preferred_language": { - "type": ["null", "string"] - }, - "surname": { - "type": ["null", "string"] - }, - "user_principal_name": { - "type": ["null", "string"] - } - } - } - }, - "sync_mode": "full_refresh" - } - ] -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/sample_files/sample_config.json b/airbyte-integrations/connectors/source-microsoft-teams/sample_files/sample_config.json deleted file mode 100644 index d187c3d46aff..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/sample_files/sample_config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "tenant_id": "", - "client_id": "", - "client_secret": "", - "period": "D7" -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/setup.py b/airbyte-integrations/connectors/source-microsoft-teams/setup.py deleted file mode 100644 index 07b984cad43d..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/setup.py +++ /dev/null @@ -1,49 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - - -from setuptools import find_packages, setup - -MAIN_REQUIREMENTS = [ - "airbyte-cdk", - "requests", - "msal==1.7.0", - "backoff", -] - -TEST_REQUIREMENTS = [ - "requests-mock~=1.9.3", - "pytest~=6.1", - "pytest-mock~=3.6.1", -] - -setup( - entry_points={ - "console_scripts": [ - "source-microsoft-teams=source_microsoft_teams.run:run", - ], - }, - name="source_microsoft_teams", - description="Source implementation for Microsoft Teams.", - author="Airbyte", - author_email="contact@airbyte.io", - packages=find_packages(), - install_requires=MAIN_REQUIREMENTS, - package_data={ - "": [ - # Include yaml files in the package (if any) - "*.yml", - "*.yaml", - # Include all json files in the package, up to 4 levels deep - "*.json", - "*/*.json", - "*/*/*.json", - "*/*/*/*.json", - "*/*/*/*/*.json", - ] - }, - extras_require={ - "tests": TEST_REQUIREMENTS, - }, -) diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/__init__.py b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/__init__.py index 4f8ee32f9604..e45356f1e410 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/__init__.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/__init__.py @@ -1,3 +1,8 @@ +# +# Copyright (c) 2023 Airbyte, Inc., all rights reserved. +# + + from .source import SourceMicrosoftTeams __all__ = ["SourceMicrosoftTeams"] diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/client.py b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/client.py deleted file mode 100644 index c16459025f98..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/client.py +++ /dev/null @@ -1,268 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - - -import csv -import io -import json -import pkgutil -import sys -import time -from functools import lru_cache -from typing import Dict, List, Optional, Tuple, Union - -import backoff -import msal -import requests -from airbyte_cdk.logger import AirbyteLogger -from airbyte_cdk.models.airbyte_protocol import AirbyteStream -from msal.exceptions import MsalServiceError - -LOGGER = AirbyteLogger() - - -def log_backoff_attempt(details): - LOGGER.info(f"Encountered exception when querying the Microsoft API: {str(sys.exc_info()[1])}. Backing off: {details.get('tries')} try") - - -class Client: - """ - Microsoft Teams API Reference: https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0 - """ - - MICROSOFT_GRAPH_BASE_API_URL: str = "https://graph.microsoft.com/" - MICROSOFT_GRAPH_API_VERSION: str = "v1.0" - PAGINATION_COUNT: Optional[int] = 20 - - def __init__(self, config: json): - self.ENTITY_MAP = { - "users": self.get_users, - "groups": self.get_groups, - "group_members": self.get_group_members, - "group_owners": self.get_group_owners, - "channels": self.get_channels, - "channel_members": self.get_channel_members, - "channel_tabs": self.get_channel_tabs, - "conversations": self.get_conversations, - "conversation_threads": self.get_conversation_threads, - "conversation_posts": self.get_conversation_posts, - "team_drives": self.get_team_drives, - "team_device_usage_report": self.get_team_device_usage_report, - } - self.configs = config - self.credentials = config.get("credentials") - if not self.credentials: - self.credentials = { - "tenant_id": config["tenant_id"], - "client_id": config["client_id"], - "client_secret": config["client_secret"], - } - self._group_ids = None - - @property - @lru_cache(maxsize=None) - def msal_app(self): - return msal.ConfidentialClientApplication( - self.credentials["client_id"], - authority=f"https://login.microsoftonline.com/" f"{self.credentials['tenant_id']}", - client_credential=self.credentials["client_secret"], - ) - - def _get_api_url(self, endpoint: str) -> str: - api_url = f"{self.MICROSOFT_GRAPH_BASE_API_URL}{self.MICROSOFT_GRAPH_API_VERSION}/{endpoint}/" - return api_url - - def _get_access_token(self) -> str: - scope = ["https://graph.microsoft.com/.default"] - refresh_token = self.credentials.get("refresh_token") - if refresh_token: - result = self.msal_app.acquire_token_by_refresh_token(refresh_token, scopes=scope) - else: - result = self.msal_app.acquire_token_for_client(scopes=scope) - if "access_token" in result: - return result["access_token"] - else: - raise MsalServiceError(error=result.get("error"), error_description=result.get("error_description")) - - @backoff.on_exception( - backoff.expo, - (requests.exceptions.ConnectionError, MsalServiceError, requests.exceptions.RequestException), - max_tries=7, - on_backoff=log_backoff_attempt, - ) - def _make_request(self, api_url: str, params: Optional[Dict] = None) -> Union[Dict, object]: - access_token = self._get_access_token() - headers = {"Authorization": f"Bearer {access_token}"} - response = requests.get(api_url, headers=headers, params=params) - if response.status_code == 429: - if "Retry-After" in response.headers: - pause_time = float(response.headers["Retry-After"]) - time.sleep(pause_time) - response = requests.get(api_url, headers=headers, params=params) - if response.status_code != 200: - raise requests.exceptions.RequestException(response.text) - if response.headers["Content-Type"] == "application/octet-stream": - raw_response = response.content - else: - raw_response = response.json() - return raw_response - - @staticmethod - def _get_response_value_unsafe(raw_response: Dict) -> List: - value = raw_response["value"] - return value - - def _get_request_params(self, params: Optional[Dict] = None, pagination: bool = True) -> Dict: - if self.PAGINATION_COUNT and pagination: - params = params if params else {} - if "$top" not in params: - params["$top"] = self.PAGINATION_COUNT - return params - - def _fetch_data(self, endpoint: str, params: Optional[Dict] = None, pagination: bool = True): - api_url = self._get_api_url(endpoint) - params = self._get_request_params(params, pagination) - while api_url: - raw_response = self._make_request(api_url, params) - value = self._get_response_value_unsafe(raw_response) - params = None - api_url = raw_response.get("@odata.nextLink", "") - yield value - - def health_check(self) -> Tuple[bool, object]: - try: - self._get_access_token() - return True, None - except MsalServiceError as err: - return False, err.args[0] - except Exception as e: - return False, str(e) - - def get_streams(self): - streams = [] - for schema, method in self.ENTITY_MAP.items(): - raw_schema = json.loads(pkgutil.get_data(self.__class__.__module__.split(".")[0], f"schemas/{schema}.json")) - streams.append(AirbyteStream(name=schema, json_schema=raw_schema, supported_sync_modes=["full_refresh"])) - return streams - - def get_users(self): - for users in self._fetch_data("users"): - yield users - - def get_groups(self): - for groups in self._fetch_data("groups"): - yield filter(lambda item: "Team" in item["resourceProvisioningOptions"], groups) - - def _get_group_ids(self): - if not self._group_ids: - api_url = self._get_api_url("groups") - params = {"$select": "id,resourceProvisioningOptions"} - groups = self._get_response_value_unsafe(self._make_request(api_url, params=params)) - self._group_ids = [item["id"] for item in groups if "Team" in item["resourceProvisioningOptions"]] - return self._group_ids - - def get_group_members(self): - for group_id in self._get_group_ids(): - for members in self._fetch_data(f"groups/{group_id}/members"): - yield members - - def get_group_owners(self): - for group_id in self._get_group_ids(): - for owners in self._fetch_data(f"groups/{group_id}/owners"): - yield owners - - def get_channels(self): - for group_id in self._get_group_ids(): - for channels in self._fetch_data(f"teams/{group_id}/channels", pagination=False): - yield channels - - def _get_channel_ids(self, group_id: str): - api_url = self._get_api_url(f"teams/{group_id}/channels") - # TODO: pass params={"$select": "id"} to make_request once the related bug in the MSFT API - # is fixed: microsoftgraph/microsoft-graph-docs#11494 - channels_ids = self._get_response_value_unsafe(self._make_request(api_url)) - return channels_ids - - def get_channel_members(self): - for group_id in self._get_group_ids(): - channels = self._get_channel_ids(group_id=group_id) - for channel in channels: - for members in self._fetch_data(f'teams/{group_id}/channels/{channel["id"]}/members'): - yield members - - def get_channel_tabs(self): - for group_id in self._get_group_ids(): - channels = self._get_channel_ids(group_id=group_id) - for channel in channels: - for tabs in self._fetch_data(f'teams/{group_id}/channels/{channel["id"]}/tabs', pagination=False): - yield tabs - - def get_conversations(self): - for group_id in self._get_group_ids(): - for conversations in self._fetch_data(f"groups/{group_id}/conversations"): - yield conversations - - def _get_conversation_ids(self, group_id: str): - api_url = self._get_api_url(f"groups/{group_id}/conversations") - params = {"$select": "id"} - conversation_ids = self._get_response_value_unsafe(self._make_request(api_url, params=params)) - return conversation_ids - - def get_conversation_threads(self): - for group_id in self._get_group_ids(): - conversations = self._get_conversation_ids(group_id=group_id) - for conversation in conversations: - for threads in self._fetch_data(f'groups/{group_id}/conversations/{conversation["id"]}/threads'): - yield threads - - def _get_thread_ids(self, group_id: str, conversation_id: str): - api_url = self._get_api_url(f"groups/{group_id}/conversations/{conversation_id}/threads") - params = {"$select": "id"} - thread_ids = self._get_response_value_unsafe(self._make_request(api_url, params=params)) - return thread_ids - - def get_conversation_posts(self): - for group_id in self._get_group_ids(): - conversations = self._get_conversation_ids(group_id=group_id) - for conversation in conversations: - threads = self._get_thread_ids(group_id, conversation["id"]) - for thread in threads: - for posts in self._fetch_data(f'groups/{group_id}/conversations/{conversation["id"]}/threads/{thread["id"]}/posts'): - yield posts - - def get_team_drives(self): - for group_id in self._get_group_ids(): - for drives in self._fetch_data(f"groups/{group_id}/drives"): - yield drives - - def get_team_device_usage_report(self): - period = self.configs["period"] - api_url = self._get_api_url(f"reports/getTeamsDeviceUsageUserDetail(period='{period}')") - csv_response = io.BytesIO(self._make_request(api_url)) - csv_response.readline() - with io.TextIOWrapper(csv_response, encoding="utf-8-sig") as text_file: - field_names = [ - "reportRefreshDate", - "userId", - "userPrincipalName", - "lastActivityDate", - "isDeleted", - "deletedDate", - "usedWeb", - "usedWindowsPhone", - "usedIOs", - "usedMac", - "usedAndroidPhone", - "usedWindows", - "usedChromeOS", - "usedLinux", - "isLisenced", - "reportPeriod", - ] - - reader = csv.DictReader(text_file, fieldnames=field_names) - for row in reader: - yield [ - row, - ] diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/manifest.yaml b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/manifest.yaml new file mode 100644 index 000000000000..7db956b0e32b --- /dev/null +++ b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/manifest.yaml @@ -0,0 +1,5887 @@ +version: 0.44.0 +type: DeclarativeSource +check: + type: CheckStream + stream_names: + - users +streams: + - type: DeclarativeStream + name: users + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + businessPhones: + items: + type: + - "null" + - string + type: + - "null" + - array + displayName: + type: + - "null" + - string + givenName: + type: + - "null" + - string + id: + type: + - "null" + - string + jobTitle: + type: + - "null" + - string + mail: + type: + - "null" + - string + mobilePhone: + type: + - "null" + - string + officeLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + surname: + type: + - "null" + - string + userPrincipalName: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: users?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: DeclarativeStream + name: group_members + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + "@odata.type": + type: + - "null" + - string + businessPhones: + items: + type: + - "null" + - string + type: + - "null" + - array + displayName: + type: + - "null" + - string + givenName: + type: + - "null" + - string + id: + type: + - "null" + - string + jobTitle: + type: + - "null" + - string + mail: + type: + - "null" + - string + mobilePhone: + type: + - "null" + - string + officeLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + surname: + type: + - "null" + - string + userPrincipalName: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id }}/members?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: DeclarativeStream + name: group_owners + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + "@odata.type": + type: + - "null" + - string + businessPhones: + items: + type: + - "null" + - string + type: + - "null" + - array + displayName: + type: + - "null" + - string + givenName: + type: + - "null" + - string + groupId: + type: + - "null" + - string + id: + type: + - "null" + - string + jobTitle: + type: + - "null" + - string + mail: + type: + - "null" + - string + mobilePhone: + type: + - "null" + - string + officeLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + surname: + type: + - "null" + - string + userPrincipalName: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id }}/owners?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: DeclarativeStream + name: conversations + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + groupId: + type: + - "null" + - string + hasAttachments: + type: + - "null" + - boolean + id: + type: + - "null" + - string + lastDeliveredDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + preview: + type: + - "null" + - string + topic: + type: + - "null" + - string + uniqueSenders: + items: + type: + - "null" + - string + type: + - "null" + - array + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id }}/conversations?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + http_codes: + - 403 + error_message: App only access is restricting some resources + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: DeclarativeStream + name: channels + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + email: + type: + - "null" + - string + id: + type: + - "null" + - string + isFavoriteByDefault: + type: + - "null" + - boolean + membershipType: + type: + - "null" + - string + tenantId: + type: + - "null" + - string + webUrl: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: teams/{{ stream_partition.group_id }}/channels + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + predicate: "{{ 'No threadId found for TeamId' in response }}" + http_codes: + - 404 + error_message: Resource not found for team Ids + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: NoPagination + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: DeclarativeStream + name: channel_members + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + "@odata.type": + type: + - "null" + - string + channelId: + type: + - "null" + - string + displayName: + type: + - "null" + - string + email: + type: + - "null" + - string + id: + type: + - "null" + - string + roles: + items: + type: + - "null" + - string + type: + - "null" + - array + tenantId: + type: + - "null" + - string + userId: + type: + - "null" + - string + visibleHistoryStartDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + teams/{{ stream_partition.group_id }}/channels/{{ + stream_partition.channel_id }}/members?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + predicate: "{{ 'No Team found with Group id' in response }}" + http_codes: + - 404 + error_message: Resource not found for group Ids + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: channel_id + stream: + type: DeclarativeStream + name: channels + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + email: + type: + - "null" + - string + id: + type: + - "null" + - string + isFavoriteByDefault: + type: + - "null" + - boolean + membershipType: + type: + - "null" + - string + tenantId: + type: + - "null" + - string + webUrl: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: teams/{{ stream_partition.group_id }}/channels + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + predicate: "{{ 'No threadId found for TeamId' in response }}" + http_codes: + - 404 + error_message: Resource not found for team Ids + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: NoPagination + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ + config['credentials']['tenant_id'] }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: >- + {{ not response.get("@odata.nextLink", {}) + }} + - type: DeclarativeStream + name: channel_tabs + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + channelId: + type: + - "null" + - string + configuration: + additionalProperties: true + properties: + contentUrl: + type: + - "null" + - string + entityId: + type: + - "null" + - string + hasContent: + type: + - "null" + - boolean + removeUrl: + type: + - "null" + - string + websiteUrl: + type: + - "null" + - string + wikiDefaultTab: + type: + - "null" + - boolean + wikiTabId: + type: + - "null" + - integer + type: + - "null" + - object + displayName: + type: + - "null" + - string + groupId: + type: + - "null" + - string + id: + type: + - "null" + - string + sortOrderIndex: + type: + - "null" + - string + teamsApp: + additionalProperties: true + properties: + displayName: + type: + - "null" + - string + distributionMethod: + type: + - "null" + - string + id: + type: + - "null" + - string + type: + - "null" + - object + webUrl: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + teams/{{ stream_partition.group_id }}/channels/{{ + stream_partition.channel_id }}/tabs + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + predicate: "{{ 'No Team found with Group id' in response }}" + http_codes: + - 404 + error_message: Resource not found for group Ids + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: NoPagination + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: channel_id + stream: + type: DeclarativeStream + name: channels + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + email: + type: + - "null" + - string + id: + type: + - "null" + - string + isFavoriteByDefault: + type: + - "null" + - boolean + membershipType: + type: + - "null" + - string + tenantId: + type: + - "null" + - string + webUrl: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: teams/{{ stream_partition.group_id }}/channels + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + predicate: "{{ 'No threadId found for TeamId' in response }}" + http_codes: + - 404 + error_message: Resource not found for team Ids + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: NoPagination + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ + config['credentials']['tenant_id'] }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: >- + {{ not response.get("@odata.nextLink", {}) + }} + - type: DeclarativeStream + name: conversation_threads + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + conversationId: + type: + - "null" + - string + groupId: + type: + - "null" + - string + hasAttachments: + type: + - "null" + - boolean + id: + type: + - "null" + - string + isLocked: + type: + - "null" + - boolean + lastDeliveredDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + preview: + type: + - "null" + - string + topic: + type: + - "null" + - string + uniqueSenders: + items: + type: + - "null" + - string + type: + - "null" + - array + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id }}/conversations/{{ + stream_partition.conversation_id }}/threads?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + predicate: "{{ 'App Only access is not allowed' in response }}" + http_codes: + - 404 + - 403 + error_message: Some resources not found for parent resources + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: conversation_id + stream: + type: DeclarativeStream + name: conversations + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + groupId: + type: + - "null" + - string + hasAttachments: + type: + - "null" + - boolean + id: + type: + - "null" + - string + lastDeliveredDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + preview: + type: + - "null" + - string + topic: + type: + - "null" + - string + uniqueSenders: + items: + type: + - "null" + - string + type: + - "null" + - array + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id + }}/conversations?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + http_codes: + - 403 + error_message: App only access is restricting some resources + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ + config['credentials']['tenant_id'] }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: >- + {{ not response.get("@odata.nextLink", {}) + }} + - type: DeclarativeStream + name: conversation_posts + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + "@odata.etag": + type: + - "null" + - string + body: + additionalProperties: true + properties: + content: + type: + - "null" + - string + contentType: + type: + - "null" + - string + type: + - "null" + - object + categories: + items: + type: + - "null" + - string + type: + - "null" + - array + changeKey: + type: + - "null" + - string + conversationId: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + from: + additionalProperties: true + properties: + emailAddress: + properties: + address: + type: + - "null" + - string + name: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - object + hasAttachments: + type: + - "null" + - boolean + id: + type: + - "null" + - string + lastModifiedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + receivedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + sender: + additionalProperties: true + properties: + emailAddress: + additionalProperties: true + properties: + address: + type: + - "null" + - string + name: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - object + threadId: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id }}/conversations/{{ + stream_partition.conversation_id }}/threads/{{ + stream_partition.thread_id }}/posts?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + predicate: "{{ 'App Only access is not allowed' in response }}" + http_codes: + - 404 + - 403 + - 503 + error_message: Some resources are not allowed to extract + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: conversation_id + stream: + type: DeclarativeStream + name: conversations + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + groupId: + type: + - "null" + - string + hasAttachments: + type: + - "null" + - boolean + id: + type: + - "null" + - string + lastDeliveredDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + preview: + type: + - "null" + - string + topic: + type: + - "null" + - string + uniqueSenders: + items: + type: + - "null" + - string + type: + - "null" + - array + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id + }}/conversations?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + http_codes: + - 403 + error_message: App only access is restricting some resources + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ + config['credentials']['tenant_id'] }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: >- + {{ not response.get("@odata.nextLink", {}) + }} + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: thread_id + stream: + type: DeclarativeStream + name: conversation_threads + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + conversationId: + type: + - "null" + - string + groupId: + type: + - "null" + - string + hasAttachments: + type: + - "null" + - boolean + id: + type: + - "null" + - string + isLocked: + type: + - "null" + - boolean + lastDeliveredDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + preview: + type: + - "null" + - string + topic: + type: + - "null" + - string + uniqueSenders: + items: + type: + - "null" + - string + type: + - "null" + - array + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id }}/conversations/{{ + stream_partition.conversation_id }}/threads?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + predicate: >- + {{ 'App Only access is not allowed' in response + }} + http_codes: + - 404 + - 403 + error_message: Some resources not found for parent resources + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ + config['credentials']['tenant_id'] }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: >- + {{ not response.get("@odata.nextLink", {}) + }} + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: conversation_id + stream: + type: DeclarativeStream + name: conversations + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + groupId: + type: + - "null" + - string + hasAttachments: + type: + - "null" + - boolean + id: + type: + - "null" + - string + lastDeliveredDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + preview: + type: + - "null" + - string + topic: + type: + - "null" + - string + uniqueSenders: + items: + type: + - "null" + - string + type: + - "null" + - array + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id + }}/conversations?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ + config['credentials']['tenant_id'] }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + http_codes: + - 403 + error_message: >- + App only access is restricting some + resources + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: >- + {{ not response.get("@odata.nextLink", {}) + }} + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ + config['credentials']['tenant_id'] }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: >- + {{ response.get("@odata.nextLink", {}) + }} + stop_condition: >- + {{ not response.get("@odata.nextLink", + {}) }} + - type: DeclarativeStream + name: team_drives + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + createdBy: + additionalProperties: true + properties: + user: + additionalProperties: true + properties: + displayName: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - object + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + driveType: + type: + - "null" + - string + id: + type: + - "null" + - string + lastModifiedBy: + additionalProperties: true + properties: + displayName: + type: + - "null" + - string + id: + type: + - "null" + - string + type: + - "null" + - object + lastModifiedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + name: + type: + - "null" + - string + owner: + additionalProperties: true + properties: + group: + additionalProperties: true + properties: + displayName: + type: + - "null" + - string + email: + type: + - "null" + - string + id: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - object + quota: + additionalProperties: true + properties: + deleted: + type: + - "null" + - integer + remaining: + type: + - "null" + - number + state: + type: + - "null" + - string + total: + type: + - "null" + - number + used: + type: + - "null" + - integer + type: + - "null" + - object + webUrl: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + groups/{{ stream_partition.group_id }}/drives?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + http_codes: + - 404 + - 403 + error_message: Some resources are not found or not allowed to access + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + partition_router: + - type: SubstreamPartitionRouter + parent_stream_configs: + - type: ParentStreamConfig + parent_key: id + partition_field: group_id + stream: + type: DeclarativeStream + name: groups + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + classification: + type: + - "null" + - string + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + creationOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + deletedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + description: + type: + - "null" + - string + displayName: + type: + - "null" + - string + expirationDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + groupTypes: + items: + type: + - "null" + - string + type: + - "null" + - array + id: + type: + - "null" + - string + isAssignableToRole: + type: + - "null" + - boolean + mail: + type: + - "null" + - string + mailEnabled: + type: + - "null" + - boolean + mailNickname: + type: + - "null" + - string + membershipRule: + type: + - "null" + - string + membershipRuleProcessingState: + type: + - "null" + - string + onPremisesDomainName: + type: + - "null" + - string + onPremisesLastSyncDateTime: + format: date-time + type: + - "null" + - string + onPremisesNetBiosName: + type: + - "null" + - string + onPremisesProvisioningErrors: + items: + type: + - "null" + - string + type: + - "null" + - array + onPremisesSamAccountName: + type: + - "null" + - string + onPremisesSecurityIdentifier: + type: + - "null" + - string + onPremisesSyncEnabled: + type: + - "null" + - boolean + preferredDataLocation: + type: + - "null" + - string + preferredLanguage: + type: + - "null" + - string + proxyAddresses: + items: + type: + - "null" + - string + type: + - "null" + - array + renewedDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + resourceBehaviorOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + resourceProvisioningOptions: + items: + type: + - "null" + - string + type: + - "null" + - array + securityEnabled: + type: + - "null" + - boolean + securityIdentifier: + type: + - "null" + - string + serviceProvisioningErrors: + items: + properties: + createdDateTime: + airbyte_type: timestamp_without_timezone + format: date-time + type: + - "null" + - string + isResolved: + type: + - "null" + - boolean + serviceInstance: + type: + - "null" + - string + type: + - "null" + - object + type: + - "null" + - array + theme: + type: + - "null" + - string + visibility: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: groups?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' + - type: DeclarativeStream + name: team_device_usage_report + primary_key: [] + schema_loader: + type: InlineSchemaLoader + schema: + $schema: http://json-schema.org/draft-07/schema# + additionalProperties: true + properties: + deletedDate: + type: + - "null" + - string + isDeleted: + type: + - "null" + - string + isLisenced: + type: + - "null" + - string + lastActivityDate: + type: + - "null" + - string + reportPeriod: + type: + - "null" + - string + reportRefreshDate: + format: date + type: + - "null" + - string + usedAndroidPhone: + type: + - "null" + - string + usedChromeOS: + type: + - "null" + - string + usedIOs: + type: + - "null" + - string + usedLinux: + type: + - "null" + - string + usedMac: + type: + - "null" + - string + usedWeb: + type: + - "null" + - string + usedWindows: + type: + - "null" + - string + usedWindowsPhone: + type: + - "null" + - string + userId: + type: + - "null" + - string + userPrincipalName: + type: + - "null" + - string + type: + - "null" + - object + retriever: + type: SimpleRetriever + requester: + type: HttpRequester + url_base: https://graph.microsoft.com/v1.0/ + path: >- + reports/getTeamsDeviceUsageUserDetail(period='{{ config['period'] + }}')?$top={{ config.get('page_size', 20) }} + http_method: GET + request_parameters: {} + request_headers: {} + authenticator: + type: OAuthAuthenticator + client_id: "{{ config['credentials']['client_id'] }}" + client_secret: "{{ config['credentials']['client_secret'] }}" + refresh_request_body: + scope: https://graph.microsoft.com/.default + token_refresh_endpoint: >- + https://login.microsoftonline.com/{{ config['credentials']['tenant_id'] + }}/oauth2/v2.0/token + grant_type: client_credentials + scopes: [] + access_token_name: access_token + error_handler: + type: CompositeErrorHandler + error_handlers: + - type: DefaultErrorHandler + response_filters: + - type: HttpResponseFilter + action: IGNORE + http_codes: + - 400 + error_message: Personal account not supported + request_body_json: {} + record_selector: + type: RecordSelector + extractor: + type: DpathExtractor + field_path: + - value + paginator: + type: DefaultPaginator + page_token_option: + type: RequestPath + pagination_strategy: + type: CursorPagination + cursor_value: '{{ response.get("@odata.nextLink", {}) }}' + stop_condition: '{{ not response.get("@odata.nextLink", {}) }}' +spec: + type: Spec + documentation_url: https://docs.airbyte.com/integrations/sources/microsoft-teams + connection_specification: + $schema: http://json-schema.org/draft-07/schema# + title: Microsoft Teams Spec + type: object + required: + - period + additionalProperties: true + properties: + period: + type: string + title: Period + description: + "Specifies the length of time over which the Team Device Report + stream is aggregated. The supported values are: D7, D30, D90, and D180." + examples: + - D7 + credentials: + title: Authentication mechanism + description: Choose how to authenticate to Microsoft + type: object + oneOf: + - type: object + title: Authenticate via Microsoft (OAuth 2.0) + required: + - tenant_id + - client_id + - client_secret + - refresh_token + properties: + auth_type: + type: string + const: Client + enum: + - Client + default: Client + order: 0 + tenant_id: + title: Directory (tenant) ID + type: string + description: + "A globally unique identifier (GUID) that is different than + your organization name or domain. Follow these steps to obtain: open + one of the Teams where you belong inside the Teams Application -> Click + on the … next to the Team title -> Click on Get link to team -> Copy + the link to the team and grab the tenant ID form the URL" + airbyte_secret: true + client_id: + title: Client ID + type: string + description: The Client ID of your Microsoft Teams developer application. + client_secret: + title: Client Secret + type: string + description: The Client Secret of your Microsoft Teams developer application. + airbyte_secret: true + refresh_token: + title: Refresh Token + type: string + description: A Refresh Token to renew the expired Access Token. + airbyte_secret: true + - type: object + title: Authenticate via Microsoft + required: + - tenant_id + - client_id + - client_secret + properties: + auth_type: + type: string + const: Token + enum: + - Token + default: Token + order: 0 + tenant_id: + title: Directory (tenant) ID + type: string + description: + "A globally unique identifier (GUID) that is different than + your organization name or domain. Follow these steps to obtain: open + one of the Teams where you belong inside the Teams Application -> Click + on the … next to the Team title -> Click on Get link to team -> Copy + the link to the team and grab the tenant ID form the URL" + airbyte_secret: true + client_id: + title: Client ID + type: string + description: The Client ID of your Microsoft Teams developer application. + client_secret: + title: Client Secret + type: string + description: The Client Secret of your Microsoft Teams developer application. + airbyte_secret: true + advanced_auth: + auth_flow_type: oauth2.0 + predicate_key: + - credentials + - auth_type + predicate_value: Client + oauth_config_specification: + complete_oauth_output_specification: + type: object + additionalProperties: false + properties: + refresh_token: + type: string + path_in_connector_config: + - credentials + - refresh_token + complete_oauth_server_input_specification: + type: object + additionalProperties: false + properties: + client_id: + type: string + client_secret: + type: string + complete_oauth_server_output_specification: + type: object + additionalProperties: false + properties: + client_id: + type: string + path_in_connector_config: + - credentials + - client_id + client_secret: + type: string + path_in_connector_config: + - credentials + - client_secret + oauth_user_input_from_connector_config_specification: + type: object + additionalProperties: false + properties: + tenant_id: + type: string + path_in_connector_config: + - credentials + - tenant_id +metadata: + autoImportSchema: + users: false + groups: false + group_members: false + group_owners: false + conversations: false + channels: false + channel_members: false + channel_tabs: false + conversation_threads: false + conversation_posts: false + team_drives: false + team_device_usage_report: false diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/run.py b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/run.py index f22e12386ac7..4cb08cf9e11c 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/run.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/run.py @@ -6,7 +6,8 @@ import sys from airbyte_cdk.entrypoint import launch -from source_microsoft_teams import SourceMicrosoftTeams + +from .source import SourceMicrosoftTeams def run(): diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel.json deleted file mode 100644 index b99d57b03940..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "roles": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "description": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "webUrl": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_members.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_members.json deleted file mode 100644 index 3c236063c1c6..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_members.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "@odata.type": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "roles": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "userId": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "channelId": { - "type": ["null", "string"] - }, - "tenantId": { - "type": ["null", "string"] - }, - "visibleHistoryStartDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_message_replies.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_message_replies.json deleted file mode 100644 index ac7cbb06d002..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_message_replies.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "replyToId": { - "type": ["null", "string"] - }, - "etag": { - "type": ["null", "string"] - }, - "messageType": { - "type": ["null", "string"] - }, - "createdDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "lastModifiedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "lastEditedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "deletedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "subject": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "chatId": { - "type": ["null", "string"] - }, - "importance": { - "type": ["null", "string"] - }, - "locale": { - "type": ["null", "string"] - }, - "webUrl": { - "type": ["null", "string"] - }, - "policyViolation": { - "type": ["null", "string"] - }, - "from": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "application": { - "type": ["null", "string"] - }, - "device": { - "type": ["null", "string"] - }, - "conversation": { - "type": ["null", "string"] - }, - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "userIdentityType": { - "type": ["null", "string"] - }, - "tenantId": { - "type": ["null", "string"] - } - } - } - } - }, - "body": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "contentType": { - "type": ["null", "string"] - }, - "content": { - "type": ["null", "string"] - } - } - }, - "channelIdentity": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "teamId": { - "type": ["null", "string"] - }, - "channelId": { - "type": ["null", "string"] - } - } - }, - "attachments": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "contentType": { - "type": ["null", "string"] - }, - "contentUrl": { - "type": ["null", "string"] - }, - "content": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "thumbnailUrl": { - "type": ["null", "string"] - } - } - } - }, - "mentions": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "integer"] - }, - "mentionText": { - "type": ["null", "string"] - }, - "mentioned": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "application": { - "type": ["null", "string"] - }, - "device": { - "type": ["null", "string"] - }, - "conversation": { - "type": ["null", "string"] - }, - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "userIdentityType": { - "type": ["null", "string"] - } - } - } - } - } - } - } - }, - "reactions": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "reactionType": { - "type": ["null", "string"] - }, - "createdDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "application": { - "type": ["null", "string"] - }, - "device": { - "type": ["null", "string"] - }, - "conversation": { - "type": ["null", "string"] - }, - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "userIdentityType": { - "type": ["null", "string"] - } - } - } - } - } - } - } - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_messages.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_messages.json deleted file mode 100644 index ced93bf8121b..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_messages.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "replyToId": { - "type": ["null", "string"] - }, - "etag": { - "type": ["null", "string"] - }, - "messageType": { - "type": ["null", "string"] - }, - "createdDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "lastModifiedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "deletedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "subject": { - "type": ["null", "string"] - }, - "summary": { - "type": ["null", "string"] - }, - "chatId": { - "type": ["null", "string"] - }, - "importance": { - "type": ["null", "string"] - }, - "locale": { - "type": ["null", "string"] - }, - "webUrl": { - "type": ["null", "string"] - }, - "policyViolation": { - "type": ["null", "string"] - }, - "from": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "application": { - "type": ["null", "string"] - }, - "device": { - "type": ["null", "string"] - }, - "conversation": { - "type": ["null", "string"] - }, - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "userIdentityType": { - "type": ["null", "string"] - } - } - } - } - }, - "body": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "contentType": { - "type": ["null", "string"] - }, - "content": { - "type": ["null", "string"] - } - } - }, - "channelIdentity": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "teamId": { - "type": ["null", "string"] - }, - "channelId": { - "type": ["null", "string"] - } - } - }, - "attachments": { - "anyOf": [ - { - "type": "array", - "items": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "contentType": { - "type": ["null", "string"] - }, - "contentUrl": { - "type": ["null", "string"] - }, - "content": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "thumbnailUrl": { - "type": ["null", "string"] - } - } - } - }, - { - "type": "null" - } - ] - }, - "mentions": { - "anyOf": [ - { - "type": "array", - "items": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "integer"] - }, - "mentionText": { - "type": ["null", "string"] - }, - "mentioned": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "application": { - "type": ["null", "string"] - }, - "device": { - "type": ["null", "string"] - }, - "conversation": { - "type": ["null", "string"] - }, - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "userIdentityType": { - "type": ["null", "string"] - } - } - } - } - } - } - } - }, - { - "type": "null" - } - ] - }, - "reactions": { - "anyOf": [ - { - "type": "array", - "items": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "reactionType": { - "type": ["null", "string"] - }, - "createdDateTime": { - "type": ["null", "string"], - "format": "date-time" - }, - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "application": { - "type": ["null", "string"] - }, - "device": { - "type": ["null", "string"] - }, - "conversation": { - "type": ["null", "string"] - }, - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "userIdentityType": { - "type": ["null", "string"] - } - } - } - } - } - } - } - }, - { - "type": "null" - } - ] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_tabs.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_tabs.json deleted file mode 100644 index ed0867b1e4c7..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channel_tabs.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "groupId": { - "type": ["null", "string"] - }, - "channelId": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "webUrl": { - "type": ["null", "string"] - }, - "sortOrderIndex": { - "type": ["null", "string"] - }, - "teamsApp": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "distributionMethod": { - "type": ["null", "string"] - } - } - }, - "configuration": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "entityId": { - "type": ["null", "string"] - }, - "contentUrl": { - "type": ["null", "string"] - }, - "removeUrl": { - "type": ["null", "string"] - }, - "websiteUrl": { - "type": ["null", "string"] - }, - "wikiTabId": { - "type": ["null", "integer"] - }, - "wikiDefaultTab": { - "type": ["null", "boolean"] - }, - "hasContent": { - "type": ["null", "boolean"] - } - } - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channels.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channels.json deleted file mode 100644 index 999eae607c23..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/channels.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "createdDateTime": { - "type": "string", - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "displayName": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "isFavoriteByDefault": { - "type": ["null", "boolean"] - }, - "membershipType": { - "type": ["null", "string"] - }, - "tenantId": { - "type": ["null", "string"] - }, - "webUrl": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversation_posts.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversation_posts.json deleted file mode 100644 index 4389b581962a..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversation_posts.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "threadId": { - "type": ["null", "string"] - }, - "conversationId": { - "type": ["null", "string"] - }, - "createdDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "lastModifiedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "@odata.etag": { - "type": ["null", "string"] - }, - "changeKey": { - "type": ["null", "string"] - }, - "categories": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "receivedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "hasAttachments": { - "type": ["null", "boolean"] - }, - "body": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "contentType": { - "type": ["null", "string"] - }, - "content": { - "type": ["null", "string"] - } - } - }, - "from": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "emailAddress": { - "type": ["null", "object"], - "properties": { - "name": { - "type": ["null", "string"] - }, - "address": { - "type": ["null", "string"] - } - } - } - } - }, - "sender": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "emailAddress": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "name": { - "type": ["null", "string"] - }, - "address": { - "type": ["null", "string"] - } - } - } - } - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversation_threads.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversation_threads.json deleted file mode 100644 index 54c27157062e..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversation_threads.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "groupId": { - "type": ["null", "string"] - }, - "conversationId": { - "type": ["null", "string"] - }, - "topic": { - "type": ["null", "string"] - }, - "hasAttachments": { - "type": ["null", "boolean"] - }, - "lastDeliveredDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "uniqueSenders": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "preview": { - "type": ["null", "string"] - }, - "isLocked": { - "type": ["null", "boolean"] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversations.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversations.json deleted file mode 100644 index e9045284dd5c..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/conversations.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "groupId": { - "type": ["null", "string"] - }, - "topic": { - "type": ["null", "string"] - }, - "hasAttachments": { - "type": ["null", "boolean"] - }, - "lastDeliveredDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "uniqueSenders": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "preview": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/group_members.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/group_members.json deleted file mode 100644 index 2bf02fd72977..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/group_members.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "@odata.type": { - "type": ["null", "string"] - }, - "businessPhones": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "displayName": { - "type": ["null", "string"] - }, - "givenName": { - "type": ["null", "string"] - }, - "jobTitle": { - "type": ["null", "string"] - }, - "mail": { - "type": ["null", "string"] - }, - "mobilePhone": { - "type": ["null", "string"] - }, - "officeLocation": { - "type": ["null", "string"] - }, - "preferredLanguage": { - "type": ["null", "string"] - }, - "surname": { - "type": ["null", "string"] - }, - "userPrincipalName": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/group_owners.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/group_owners.json deleted file mode 100644 index aa1b8915682d..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/group_owners.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "groupId": { - "type": ["null", "string"] - }, - "@odata.type": { - "type": ["null", "string"] - }, - "businessPhones": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "displayName": { - "type": ["null", "string"] - }, - "givenName": { - "type": ["null", "string"] - }, - "jobTitle": { - "type": ["null", "string"] - }, - "mail": { - "type": ["null", "string"] - }, - "mobilePhone": { - "type": ["null", "string"] - }, - "officeLocation": { - "type": ["null", "string"] - }, - "preferredLanguage": { - "type": ["null", "string"] - }, - "surname": { - "type": ["null", "string"] - }, - "userPrincipalName": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/groups.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/groups.json deleted file mode 100644 index 2876585b6fad..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/groups.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "deletedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "classification": { - "type": ["null", "string"] - }, - "createdDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "creationOptions": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "description": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - }, - "expirationDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "groupTypes": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "isAssignableToRole": { - "type": ["null", "boolean"] - }, - "mail": { - "type": ["null", "string"] - }, - "mailEnabled": { - "type": ["null", "boolean"] - }, - "mailNickname": { - "type": ["null", "string"] - }, - "membershipRule": { - "type": ["null", "string"] - }, - "membershipRuleProcessingState": { - "type": ["null", "string"] - }, - "onPremisesDomainName": { - "type": ["null", "string"] - }, - "onPremisesLastSyncDateTime": { - "type": ["null", "string"], - "format": "date-time" - }, - "onPremisesNetBiosName": { - "type": ["null", "string"] - }, - "onPremisesSamAccountName": { - "type": ["null", "string"] - }, - "onPremisesSecurityIdentifier": { - "type": ["null", "string"] - }, - "onPremisesSyncEnabled": { - "type": ["null", "boolean"] - }, - "preferredDataLocation": { - "type": ["null", "string"] - }, - "preferredLanguage": { - "type": ["null", "string"] - }, - "proxyAddresses": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "renewedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "resourceBehaviorOptions": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "resourceProvisioningOptions": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "securityEnabled": { - "type": ["null", "boolean"] - }, - "securityIdentifier": { - "type": ["null", "string"] - }, - "serviceProvisioningErrors": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "createdDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "isResolved": { - "type": ["null", "boolean"] - }, - "serviceInstance": { - "type": ["null", "string"] - } - } - } - }, - "theme": { - "type": ["null", "string"] - }, - "visibility": { - "type": ["null", "string"] - }, - "onPremisesProvisioningErrors": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/team_device_usage_report.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/team_device_usage_report.json deleted file mode 100644 index 8ae6a571f5d3..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/team_device_usage_report.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "reportRefreshDate": { - "type": ["null", "string"], - "format": "date" - }, - "userId": { - "type": ["null", "string"] - }, - "userPrincipalName": { - "type": ["null", "string"] - }, - "lastActivityDate": { - "type": ["null", "string"] - }, - "isDeleted": { - "type": ["null", "string"] - }, - "deletedDate": { - "type": ["null", "string"] - }, - "usedWeb": { - "type": ["null", "string"] - }, - "usedWindowsPhone": { - "type": ["null", "string"] - }, - "usedIOs": { - "type": ["null", "string"] - }, - "usedMac": { - "type": ["null", "string"] - }, - "usedAndroidPhone": { - "type": ["null", "string"] - }, - "usedWindows": { - "type": ["null", "string"] - }, - "usedChromeOS": { - "type": ["null", "string"] - }, - "usedLinux": { - "type": ["null", "string"] - }, - "isLisenced": { - "type": ["null", "string"] - }, - "reportPeriod": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/team_drives.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/team_drives.json deleted file mode 100644 index fbb40f7dcf97..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/team_drives.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "id": { - "type": ["null", "string"] - }, - "createdDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "description": { - "type": ["null", "string"] - }, - "lastModifiedBy": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "displayName": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "string"] - } - } - }, - "lastModifiedDateTime": { - "type": ["null", "string"], - "format": "date-time", - "airbyte_type": "timestamp_without_timezone" - }, - "name": { - "type": ["null", "string"] - }, - "webUrl": { - "type": ["null", "string"] - }, - "driveType": { - "type": ["null", "string"] - }, - "createdBy": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "user": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "displayName": { - "type": ["null", "string"] - } - } - } - } - }, - "owner": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "group": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "email": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "string"] - }, - "displayName": { - "type": ["null", "string"] - } - } - } - } - }, - "quota": { - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "deleted": { - "type": ["null", "integer"] - }, - "remaining": { - "type": ["null", "number"] - }, - "state": { - "type": ["null", "string"] - }, - "total": { - "type": ["null", "number"] - }, - "used": { - "type": ["null", "integer"] - } - } - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/users.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/users.json deleted file mode 100644 index e02d86a53106..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/schemas/users.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "type": ["null", "object"], - "additionalProperties": true, - "properties": { - "businessPhones": { - "type": ["null", "array"], - "items": { - "type": ["null", "string"] - } - }, - "displayName": { - "type": ["null", "string"] - }, - "givenName": { - "type": ["null", "string"] - }, - "jobTitle": { - "type": ["null", "string"] - }, - "mail": { - "type": ["null", "string"] - }, - "mobilePhone": { - "type": ["null", "string"] - }, - "officeLocation": { - "type": ["null", "string"] - }, - "preferredLanguage": { - "type": ["null", "string"] - }, - "surname": { - "type": ["null", "string"] - }, - "userPrincipalName": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "string"] - } - } -} diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/source.py b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/source.py index c087b4f0210c..2a5e4f383d32 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/source.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/source.py @@ -2,50 +2,17 @@ # Copyright (c) 2023 Airbyte, Inc., all rights reserved. # +from airbyte_cdk.sources.declarative.yaml_declarative_source import YamlDeclarativeSource -import json -from datetime import datetime -from typing import Dict, Generator +""" +This file provides the necessary constructs to interpret a provided declarative YAML configuration file into +source connector. -from airbyte_cdk.logger import AirbyteLogger -from airbyte_cdk.models.airbyte_protocol import AirbyteCatalog, AirbyteMessage, AirbyteRecordMessage, ConfiguredAirbyteCatalog, Type -from airbyte_cdk.sources.deprecated.base_source import BaseSource +WARNING: Do not modify this file. +""" -from .client import Client - - -class SourceMicrosoftTeams(BaseSource): - client_class = Client +# Declarative Source +class SourceMicrosoftTeams(YamlDeclarativeSource): def __init__(self): - super().__init__() - - def _get_client(self, config: json): - """Construct client""" - client = self.client_class(config=config) - return client - - def discover(self, logger: AirbyteLogger, config: json) -> AirbyteCatalog: - client = self._get_client(config) - return AirbyteCatalog(streams=client.get_streams()) - - def read( - self, logger: AirbyteLogger, config: json, catalog: ConfiguredAirbyteCatalog, state: Dict[str, any] - ) -> Generator[AirbyteMessage, None, None]: - client = self._get_client(config) - - logger.info(f"Starting syncing {self.__class__.__name__}") - for configured_stream in catalog.streams: - stream = configured_stream.stream - if stream.name not in client.ENTITY_MAP.keys(): - continue - logger.info(f"Syncing {stream.name} stream") - for record in self._read_record(client=client, stream=stream.name): - yield AirbyteMessage(type=Type.RECORD, record=record) - logger.info(f"Finished syncing {self.__class__.__name__}") - - def _read_record(self, client: Client, stream: str): - for record in client.ENTITY_MAP[stream](): - for item in record: - now = int(datetime.now().timestamp()) * 1000 - yield AirbyteRecordMessage(stream=stream, data=item, emitted_at=now) + super().__init__(**{"path_to_yaml": "manifest.yaml"}) diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/spec.json b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/spec.json deleted file mode 100644 index 39de5a8b8a96..000000000000 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/spec.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "documentationUrl": "https://docs.airbyte.com/integrations/sources/microsoft-teams", - "connectionSpecification": { - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Microsoft Teams Spec", - "type": "object", - "required": ["period"], - "additionalProperties": true, - "properties": { - "period": { - "type": "string", - "title": "Period", - "description": "Specifies the length of time over which the Team Device Report stream is aggregated. The supported values are: D7, D30, D90, and D180.", - "examples": ["D7"] - }, - "credentials": { - "title": "Authentication mechanism", - "description": "Choose how to authenticate to Microsoft", - "type": "object", - "oneOf": [ - { - "type": "object", - "title": "Authenticate via Microsoft (OAuth 2.0)", - "required": [ - "tenant_id", - "client_id", - "client_secret", - "refresh_token" - ], - "properties": { - "auth_type": { - "type": "string", - "const": "Client", - "enum": ["Client"], - "default": "Client", - "order": 0 - }, - "tenant_id": { - "title": "Directory (tenant) ID", - "type": "string", - "description": "A globally unique identifier (GUID) that is different than your organization name or domain. Follow these steps to obtain: open one of the Teams where you belong inside the Teams Application -> Click on the … next to the Team title -> Click on Get link to team -> Copy the link to the team and grab the tenant ID form the URL", - "airbyte_secret": true - }, - "client_id": { - "title": "Client ID", - "type": "string", - "description": "The Client ID of your Microsoft Teams developer application." - }, - "client_secret": { - "title": "Client Secret", - "type": "string", - "description": "The Client Secret of your Microsoft Teams developer application.", - "airbyte_secret": true - }, - "refresh_token": { - "title": "Refresh Token", - "type": "string", - "description": "A Refresh Token to renew the expired Access Token.", - "airbyte_secret": true - } - } - }, - { - "type": "object", - "title": "Authenticate via Microsoft", - "required": ["tenant_id", "client_id", "client_secret"], - "properties": { - "auth_type": { - "type": "string", - "const": "Token", - "enum": ["Token"], - "default": "Token", - "order": 0 - }, - "tenant_id": { - "title": "Directory (tenant) ID", - "type": "string", - "description": "A globally unique identifier (GUID) that is different than your organization name or domain. Follow these steps to obtain: open one of the Teams where you belong inside the Teams Application -> Click on the … next to the Team title -> Click on Get link to team -> Copy the link to the team and grab the tenant ID form the URL", - "airbyte_secret": true - }, - "client_id": { - "title": "Client ID", - "type": "string", - "description": "The Client ID of your Microsoft Teams developer application." - }, - "client_secret": { - "title": "Client Secret", - "type": "string", - "description": "The Client Secret of your Microsoft Teams developer application.", - "airbyte_secret": true - } - } - } - ] - } - } - }, - "advanced_auth": { - "auth_flow_type": "oauth2.0", - "predicate_key": ["credentials", "auth_type"], - "predicate_value": "Client", - "oauth_config_specification": { - "complete_oauth_output_specification": { - "type": "object", - "additionalProperties": false, - "properties": { - "refresh_token": { - "type": "string", - "path_in_connector_config": ["credentials", "refresh_token"] - } - } - }, - "complete_oauth_server_input_specification": { - "type": "object", - "additionalProperties": false, - "properties": { - "client_id": { - "type": "string" - }, - "client_secret": { - "type": "string" - } - } - }, - "complete_oauth_server_output_specification": { - "type": "object", - "additionalProperties": false, - "properties": { - "client_id": { - "type": "string", - "path_in_connector_config": ["credentials", "client_id"] - }, - "client_secret": { - "type": "string", - "path_in_connector_config": ["credentials", "client_secret"] - } - } - }, - "oauth_user_input_from_connector_config_specification": { - "type": "object", - "additionalProperties": false, - "properties": { - "tenant_id": { - "type": "string", - "path_in_connector_config": ["credentials", "tenant_id"] - } - } - } - } - } -} diff --git a/docs/integrations/sources/microsoft-teams-migrations.md b/docs/integrations/sources/microsoft-teams-migrations.md index 5610ecd721ad..093f37714241 100644 --- a/docs/integrations/sources/microsoft-teams-migrations.md +++ b/docs/integrations/sources/microsoft-teams-migrations.md @@ -1,4 +1,4 @@ -# Microsoft teams Migration Guide +# Microsoft Teams Migration Guide ## Upgrading to 1.0.0 diff --git a/docs/integrations/sources/microsoft-teams.md b/docs/integrations/sources/microsoft-teams.md index cc3846a489d3..7e306bffaf07 100644 --- a/docs/integrations/sources/microsoft-teams.md +++ b/docs/integrations/sources/microsoft-teams.md @@ -161,6 +161,7 @@ Token acquiring implemented by [instantiate](https://docs.microsoft.com/en-us/az | Version | Date | Pull Request | Subject | |:------- |:---------- | :------------------------------------------------------- | :----------------------------- | +| 1.1.0 | 2024-03-24 | [36223](https://github.com/airbytehq/airbyte/pull/36223) | Migration to low code | | 1.0.0 | 2024-01-04 | [33959](https://github.com/airbytehq/airbyte/pull/33959) | Schema updates | | 0.2.5 | 2021-12-14 | [8429](https://github.com/airbytehq/airbyte/pull/8429) | Update titles and descriptions | | 0.2.4 | 2021-12-07 | [7807](https://github.com/airbytehq/airbyte/pull/7807) | Implement OAuth support |