airbyte-source-iterable 0.2.1__py3-none-any.whl → 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,113 @@
1
+ Metadata-Version: 2.1
2
+ Name: airbyte-source-iterable
3
+ Version: 0.3.0
4
+ Summary: Source implementation for Iterable.
5
+ Home-page: https://airbyte.com
6
+ License: MIT
7
+ Author: Airbyte
8
+ Author-email: contact@airbyte.io
9
+ Requires-Python: >=3.9,<3.12
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Requires-Dist: airbyte-cdk (==0.63.2)
16
+ Requires-Dist: pendulum (==2.1.2)
17
+ Requires-Dist: python-dateutil (==2.8.2)
18
+ Requires-Dist: requests (==2.31.0)
19
+ Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/iterable
20
+ Project-URL: Repository, https://github.com/airbytehq/airbyte
21
+ Description-Content-Type: text/markdown
22
+
23
+ # Iterable source connector
24
+
25
+
26
+ This is the repository for the Iterable source connector, written in Python.
27
+ For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/iterable).
28
+
29
+ ## Local development
30
+
31
+ ### Prerequisites
32
+ * Python (~=3.9)
33
+ * Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
34
+
35
+
36
+ ### Installing the connector
37
+ From this connector directory, run:
38
+ ```bash
39
+ poetry install --with dev
40
+ ```
41
+
42
+
43
+ ### Create credentials
44
+ **If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/iterable)
45
+ to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_iterable/spec.yaml` file.
46
+ Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
47
+ See `sample_files/sample_config.json` for a sample config file.
48
+
49
+
50
+ ### Locally running the connector
51
+ ```
52
+ poetry run source-iterable spec
53
+ poetry run source-iterable check --config secrets/config.json
54
+ poetry run source-iterable discover --config secrets/config.json
55
+ poetry run source-iterable read --config secrets/config.json --catalog sample_files/configured_catalog.json
56
+ ```
57
+
58
+ ### Running unit tests
59
+ To run unit tests locally, from the connector directory run:
60
+ ```
61
+ poetry run pytest unit_tests
62
+ ```
63
+
64
+ ### Building the docker image
65
+ 1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
66
+ 2. Run the following command to build the docker image:
67
+ ```bash
68
+ airbyte-ci connectors --name=source-iterable build
69
+ ```
70
+
71
+ An image will be available on your host with the tag `airbyte/source-iterable:dev`.
72
+
73
+
74
+ ### Running as a docker container
75
+ Then run any of the connector commands as follows:
76
+ ```
77
+ docker run --rm airbyte/source-iterable:dev spec
78
+ docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-iterable:dev check --config /secrets/config.json
79
+ docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-iterable:dev discover --config /secrets/config.json
80
+ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-iterable:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
81
+ ```
82
+
83
+ ### Running our CI test suite
84
+ You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
85
+ ```bash
86
+ airbyte-ci connectors --name=source-iterable test
87
+ ```
88
+
89
+ ### Customizing acceptance Tests
90
+ 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.
91
+ 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.
92
+
93
+ ### Dependency Management
94
+ All of your dependencies should be managed via Poetry.
95
+ To add a new dependency, run:
96
+ ```bash
97
+ poetry add <package-name>
98
+ ```
99
+
100
+ Please commit the changes to `pyproject.toml` and `poetry.lock` files.
101
+
102
+ ## Publishing a new version of the connector
103
+ You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
104
+ 1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-iterable test`
105
+ 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)):
106
+ - bump the `dockerImageTag` value in in `metadata.yaml`
107
+ - bump the `version` value in `pyproject.toml`
108
+ 3. Make sure the `metadata.yaml` content is up to date.
109
+ 4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/iterable.md`).
110
+ 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).
111
+ 6. Pat yourself on the back for being an awesome contributor.
112
+ 7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
113
+ 8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
@@ -1,17 +1,5 @@
1
- integration_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- integration_tests/abnormal_state.json,sha256=4u4j_19EE1IRxsZUFdUNZrcKx2C2PfIuNf_duqBx2d0,1522
3
- integration_tests/acceptance.py,sha256=lNQLXYq-pk1Nnnk5485I1ydqzOn5M9qj_cwxxeDoOQQ,313
4
- integration_tests/catalog.json,sha256=czy40YZjh6B-dpLJ-GOAFfv2yTqrF9MRzx49W8TdGcY,5056
5
- integration_tests/configured_catalog.json,sha256=giTqqzRLwI8aha6gtjkw5kVajHOySDOP7Lf--wzX3qQ,5046
6
- integration_tests/configured_catalog_additional_events.json,sha256=YfghmTQDVCQVmnCvsNR_02D8awZbvwity6olnbV17jY,8448
7
- integration_tests/invalid_config.json,sha256=9-QMxZNKuxzeDk1fJ9TrmUYoBJqF-A3AIHNrj4b8Ohs,72
8
1
  source_iterable/__init__.py,sha256=8WKQT800ggxG1vGPoA_ZHUkozwEM7qMhGMhzEPCdA4o,65
9
2
  source_iterable/run.py,sha256=-Bvz772Z7iJWExDoJS7chxv725hG4e9e5Engrtp66iE,236
10
- source_iterable/slice_generators.py,sha256=neRuWD52Xnr84KvWQ0kjaErR44sOKjxIyLCNeofohzE,6482
11
- source_iterable/source.py,sha256=RC-3qvp_M6n4vKXsxyyOk8c6tqwh6t7FKX64XeMHcAk,6707
12
- source_iterable/spec.json,sha256=QQ2V2eUQW88gtgpNjpxOe_zFbBDFIU8zI7Gtv25LC2I,1083
13
- source_iterable/streams.py,sha256=6x2T0r89IIGsB7iO7suSBBAI96uyFlM4PuTky5MxTek,23693
14
- source_iterable/utils.py,sha256=ppDgm3BpTDsXY6AsLg3POL3mKj2gkyEmontg86l3ifQ,932
15
3
  source_iterable/schemas/campaigns.json,sha256=3sDq9ekGVuIoAb0kXhul-5sbaz1Vqm36MnLr0cNfPpY,1191
16
4
  source_iterable/schemas/campaigns_metrics.json,sha256=huOj1N5iXi-jvM0ztAZjf2mUIfd2KeWKSwQ7pNmsx6g,109
17
5
  source_iterable/schemas/channels.json,sha256=xKQgmDcVeRcN0TgqUY1oEFTjXeHdVeUjCix7OnnjkLg,285
@@ -30,17 +18,12 @@ source_iterable/schemas/message_types.json,sha256=GLFtrZk2vkBhnk-OMnQ--cl2VYQNJg
30
18
  source_iterable/schemas/metadata.json,sha256=WP_wq49tAsvetXEtQ3KeGxVpqTYCbLjZacNkTohi3jw,109
31
19
  source_iterable/schemas/templates.json,sha256=dC7lKUnG3mQe9-Wj-jd7OyYruQEWvYT8DHfW9oDLXT4,569
32
20
  source_iterable/schemas/users.json,sha256=WBl7sJBKU3r_BqGF5Nzv0C-rbHj0DoI-PRHopxA7s2k,7490
33
- unit_tests/__init__.py,sha256=ZnqYNxHsKCgO38IwB34RQyRMXTs4GTvlRi3ImKnIioo,61
34
- unit_tests/conftest.py,sha256=bbGg5aH24bpLvhmaYkAyyhwdu8NOfLKHkGwzXZpQWVA,1319
35
- unit_tests/test_export_adjustable_range.py,sha256=rKGPCtFdqMtH2xkb9zyrxtWRv9blGrG0cvPZa6qxc0o,4228
36
- unit_tests/test_exports_stream.py,sha256=aGoCcCm_QdHkkpm13l_-wH_O_rDZCjx3FwTIhQeW6aI,1296
37
- unit_tests/test_slice_generator.py,sha256=NQV14ZqRPtrXzRd9vjKUfUNM1gmy2ViPJWel7jx4yKg,2805
38
- unit_tests/test_source.py,sha256=J19clt722S4YesgnotRy1i7iWTkDdQ_r3JWKXiI93BY,1096
39
- unit_tests/test_stream_events.py,sha256=gpi7CnYvulgWthupabgmZxoiD2mz7Vn31u6kngqcV_w,7294
40
- unit_tests/test_streams.py,sha256=3_7ANunB7JYJDzjZ_y-6xtSRM_IFLhUCEuJt9StL7h4,10474
41
- unit_tests/test_utils.py,sha256=iMGvzOb4DHp_BPNpPO9lo-UWAYypeRurOQA3mTXcDqI,520
42
- airbyte_source_iterable-0.2.1.dist-info/METADATA,sha256=oWcK57-DX6v-VeIIRGcNxj7fWCxtZEAJ_-hYYmijFgY,6536
43
- airbyte_source_iterable-0.2.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
44
- airbyte_source_iterable-0.2.1.dist-info/entry_points.txt,sha256=9-KWWPBXpl2Vsr3sIpNjPo7yL8rdNw4qb1rfOgTyAv8,60
45
- airbyte_source_iterable-0.2.1.dist-info/top_level.txt,sha256=rLje5StExrhvr22D40rYXT5NZz9CXvM5i5M2LAZ0dio,45
46
- airbyte_source_iterable-0.2.1.dist-info/RECORD,,
21
+ source_iterable/slice_generators.py,sha256=neRuWD52Xnr84KvWQ0kjaErR44sOKjxIyLCNeofohzE,6482
22
+ source_iterable/source.py,sha256=RC-3qvp_M6n4vKXsxyyOk8c6tqwh6t7FKX64XeMHcAk,6707
23
+ source_iterable/spec.json,sha256=QQ2V2eUQW88gtgpNjpxOe_zFbBDFIU8zI7Gtv25LC2I,1083
24
+ source_iterable/streams.py,sha256=6x2T0r89IIGsB7iO7suSBBAI96uyFlM4PuTky5MxTek,23693
25
+ source_iterable/utils.py,sha256=ppDgm3BpTDsXY6AsLg3POL3mKj2gkyEmontg86l3ifQ,932
26
+ airbyte_source_iterable-0.3.0.dist-info/METADATA,sha256=4ecXD0HVzjJ-8rRY7r7AzJYsR4fcyUZECKE1WneAJlI,5352
27
+ airbyte_source_iterable-0.3.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
28
+ airbyte_source_iterable-0.3.0.dist-info/entry_points.txt,sha256=pjzrNtsOX3jW37IK0U5pSmLiraiuLTPr5aB5-hBXpAo,59
29
+ airbyte_source_iterable-0.3.0.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: poetry-core 1.8.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ source-iterable=source_iterable.run:run
3
+
@@ -1,118 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: airbyte-source-iterable
3
- Version: 0.2.1
4
- Summary: Source implementation for Iterable.
5
- Author: Airbyte
6
- Author-email: contact@airbyte.io
7
- Description-Content-Type: text/markdown
8
- Requires-Dist: airbyte-cdk
9
- Requires-Dist: pendulum ~=2.1.2
10
- Requires-Dist: python-dateutil ~=2.8.2
11
- Requires-Dist: requests ~=2.25
12
- Provides-Extra: tests
13
- Requires-Dist: requests-mock ~=1.9.3 ; extra == 'tests'
14
- Requires-Dist: pytest-mock ~=3.6.1 ; extra == 'tests'
15
- Requires-Dist: pytest ~=6.1 ; extra == 'tests'
16
- Requires-Dist: responses ==0.23.1 ; extra == 'tests'
17
- Requires-Dist: freezegun ==1.1.0 ; extra == 'tests'
18
-
19
- # Coinmarketcap Source
20
-
21
- This is the repository for the Coinmarketcap configuration based source connector.
22
- For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.io/integrations/sources/coinmarketcap).
23
-
24
-
25
- **If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.io/integrations/sources/coinmarketcap)
26
- to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_coinmarketcap/spec.yaml` file.
27
- Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
28
- See `integration_tests/sample_config.json` for a sample config file.
29
-
30
- **If you are an Airbyte core member**, copy the credentials in Lastpass under the secret name `source coinmarketcap test creds`
31
- and place them into `secrets/config.json`.
32
-
33
-
34
-
35
-
36
-
37
- The Airbyte way of building this connector is to use our `airbyte-ci` tool.
38
- You can follow install instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md#L1).
39
- Then running the following command will build your connector:
40
-
41
- ```bash
42
- airbyte-ci connectors --name source-iterable build
43
- ```
44
- Once the command is done, you will find your connector image in your local docker registry: `airbyte/source-iterable:dev`.
45
-
46
- When contributing on our connector you might need to customize the build process to add a system dependency or set an env var.
47
- You can customize our build process by adding a `build_customization.py` module to your connector.
48
- This module should contain a `pre_connector_install` and `post_connector_install` async function that will mutate the base image and the connector container respectively.
49
- It will be imported at runtime by our build process and the functions will be called if they exist.
50
-
51
- Here is an example of a `build_customization.py` module:
52
- ```python
53
- from __future__ import annotations
54
-
55
- from typing import TYPE_CHECKING
56
-
57
- if TYPE_CHECKING:
58
- from dagger import Container
59
-
60
-
61
- async def pre_connector_install(base_image_container: Container) -> Container:
62
- return await base_image_container.with_env_variable("MY_PRE_BUILD_ENV_VAR", "my_pre_build_env_var_value")
63
-
64
- async def post_connector_install(connector_container: Container) -> Container:
65
- return await connector_container.with_env_variable("MY_POST_BUILD_ENV_VAR", "my_post_build_env_var_value")
66
- ```
67
-
68
- This connector is built using our dynamic built process in `airbyte-ci`.
69
- The base image used to build it is defined within the metadata.yaml file under the `connectorBuildOptions`.
70
- The build logic is defined using [Dagger](https://dagger.io/) [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/pipelines/builds/python_connectors.py).
71
- It does not rely on a Dockerfile.
72
-
73
- If you would like to patch our connector and build your own a simple approach would be to:
74
-
75
- 1. Create your own Dockerfile based on the latest version of the connector image.
76
- ```Dockerfile
77
- FROM airbyte/source-iterable:latest
78
-
79
- COPY . ./airbyte/integration_code
80
- RUN pip install ./airbyte/integration_code
81
-
82
- ```
83
- Please use this as an example. This is not optimized.
84
-
85
- 2. Build your image:
86
- ```bash
87
- docker build -t airbyte/source-iterable:dev .
88
- docker run airbyte/source-iterable:dev spec
89
- ```
90
- Then run any of the connector commands as follows:
91
- ```
92
- docker run --rm airbyte/source-coinmarketcap:dev spec
93
- docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-coinmarketcap:dev check --config /secrets/config.json
94
- docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-coinmarketcap:dev discover --config /secrets/config.json
95
- docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-coinmarketcap:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
96
- ```
97
-
98
- You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
99
- ```bash
100
- airbyte-ci connectors --name=source-iterable test
101
- ```
102
-
103
- 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.
104
- 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.
105
-
106
- 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.
107
- We split dependencies between two groups, dependencies that are:
108
- * required for your connector to work need to go to `MAIN_REQUIREMENTS` list.
109
- * required for the testing need to go to `TEST_REQUIREMENTS` list
110
-
111
- You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
112
- 1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-iterable test`
113
- 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).
114
- 3. Make sure the `metadata.yaml` content is up to date.
115
- 4. Make the connector documentation and its changelog is up to date (`docs/integrations/sources/iterable.md`).
116
- 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).
117
- 6. Pat yourself on the back for being an awesome contributor.
118
- 7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- source-iterable = source_iterable.run:run
@@ -1,3 +0,0 @@
1
- integration_tests
2
- source_iterable
3
- unit_tests
File without changes
@@ -1,74 +0,0 @@
1
- [
2
- {
3
- "type": "STREAM",
4
- "stream": {
5
- "stream_state": {
6
- "profileUpdatedAt": "2121-04-14T17:00:41+00:00"
7
- },
8
- "stream_descriptor": { "name": "users" }
9
- }
10
- },
11
- {
12
- "type": "STREAM",
13
- "stream": {
14
- "stream_state": {
15
- "createdAt": "2121-04-14T17:00:44+00:00"
16
- },
17
- "stream_descriptor": { "name": "email_unsubscribe" }
18
- }
19
- },
20
- {
21
- "type": "STREAM",
22
- "stream": {
23
- "stream_state": {
24
- "createdAt": "2121-04-14T17:00:44+00:00"
25
- },
26
- "stream_descriptor": { "name": "email_subscribe" }
27
- }
28
- },
29
- {
30
- "type": "STREAM",
31
- "stream": {
32
- "stream_state": {
33
- "createdAt": "2121-04-14T16:25:56+00:00"
34
- },
35
- "stream_descriptor": { "name": "email_send" }
36
- }
37
- },
38
- {
39
- "type": "STREAM",
40
- "stream": {
41
- "stream_state": {
42
- "createdAt": "2121-04-14T16:25:56+00:00"
43
- },
44
- "stream_descriptor": { "name": "email_open" }
45
- }
46
- },
47
- {
48
- "type": "STREAM",
49
- "stream": {
50
- "stream_state": {
51
- "createdAt": "2121-04-14T16:25:56+00:00"
52
- },
53
- "stream_descriptor": { "name": "email_click" }
54
- }
55
- },
56
- {
57
- "type": "STREAM",
58
- "stream": {
59
- "stream_state": {
60
- "createdAt": "2121-04-14T16:25:56+00:00"
61
- },
62
- "stream_descriptor": { "name": "email_bounce" }
63
- }
64
- },
65
- {
66
- "type": "STREAM",
67
- "stream": {
68
- "stream_state": {
69
- "createdAt": "2121-04-14T16:23:30.700000+00:00"
70
- },
71
- "stream_descriptor": { "name": "templates" }
72
- }
73
- }
74
- ]
@@ -1,13 +0,0 @@
1
- #
2
- # Copyright (c) 2023 Airbyte, Inc., all rights reserved.
3
- #
4
-
5
- import pytest
6
-
7
- pytest_plugins = ("connector_acceptance_test.plugin",)
8
-
9
-
10
- @pytest.fixture(scope="session", autouse=True)
11
- def connector_setup():
12
- """This fixture is a placeholder for external resources that acceptance test might require."""
13
- yield
@@ -1,186 +0,0 @@
1
- {
2
- "streams": [
3
- {
4
- "stream": {
5
- "name": "campaigns",
6
- "json_schema": {},
7
- "supported_sync_modes": ["full_refresh"]
8
- },
9
- "sync_mode": "full_refresh",
10
- "destination_sync_mode": "overwrite"
11
- },
12
- {
13
- "stream": {
14
- "name": "campaigns_metrics",
15
- "json_schema": {},
16
- "supported_sync_modes": ["full_refresh"]
17
- },
18
- "sync_mode": "full_refresh",
19
- "destination_sync_mode": "overwrite"
20
- },
21
- {
22
- "stream": {
23
- "name": "channels",
24
- "json_schema": {},
25
- "supported_sync_modes": ["full_refresh"]
26
- },
27
- "sync_mode": "full_refresh",
28
- "destination_sync_mode": "overwrite"
29
- },
30
- {
31
- "stream": {
32
- "name": "email_bounce",
33
- "json_schema": {},
34
- "supported_sync_modes": ["full_refresh", "incremental"],
35
- "source_defined_cursor": true,
36
- "default_cursor_field": ["createdAt"]
37
- },
38
- "sync_mode": "full_refresh",
39
- "destination_sync_mode": "append"
40
- },
41
- {
42
- "stream": {
43
- "name": "email_click",
44
- "json_schema": {},
45
- "supported_sync_modes": ["full_refresh", "incremental"],
46
- "source_defined_cursor": true,
47
- "default_cursor_field": ["createdAt"]
48
- },
49
- "sync_mode": "full_refresh",
50
- "destination_sync_mode": "append"
51
- },
52
- {
53
- "stream": {
54
- "name": "email_complaint",
55
- "json_schema": {},
56
- "supported_sync_modes": ["full_refresh", "incremental"],
57
- "source_defined_cursor": true,
58
- "default_cursor_field": ["createdAt"]
59
- },
60
- "sync_mode": "full_refresh",
61
- "destination_sync_mode": "append"
62
- },
63
- {
64
- "stream": {
65
- "name": "email_open",
66
- "json_schema": {},
67
- "supported_sync_modes": ["full_refresh", "incremental"],
68
- "source_defined_cursor": true,
69
- "default_cursor_field": ["createdAt"]
70
- },
71
- "sync_mode": "full_refresh",
72
- "destination_sync_mode": "append"
73
- },
74
- {
75
- "stream": {
76
- "name": "email_send",
77
- "json_schema": {},
78
- "supported_sync_modes": ["full_refresh", "incremental"],
79
- "source_defined_cursor": true,
80
- "default_cursor_field": ["createdAt"]
81
- },
82
- "sync_mode": "full_refresh",
83
- "destination_sync_mode": "append"
84
- },
85
- {
86
- "stream": {
87
- "name": "email_send_skip",
88
- "json_schema": {},
89
- "supported_sync_modes": ["full_refresh", "incremental"],
90
- "source_defined_cursor": true,
91
- "default_cursor_field": ["createdAt"]
92
- },
93
- "sync_mode": "full_refresh",
94
- "destination_sync_mode": "append"
95
- },
96
- {
97
- "stream": {
98
- "name": "email_subscribe",
99
- "json_schema": {},
100
- "supported_sync_modes": ["full_refresh", "incremental"],
101
- "source_defined_cursor": true,
102
- "default_cursor_field": ["createdAt"]
103
- },
104
- "sync_mode": "full_refresh",
105
- "destination_sync_mode": "append"
106
- },
107
- {
108
- "stream": {
109
- "name": "email_unsubscribe",
110
- "json_schema": {},
111
- "supported_sync_modes": ["full_refresh", "incremental"],
112
- "source_defined_cursor": true,
113
- "default_cursor_field": ["createdAt"]
114
- },
115
- "sync_mode": "full_refresh",
116
- "destination_sync_mode": "append"
117
- },
118
- {
119
- "stream": {
120
- "name": "events",
121
- "json_schema": {},
122
- "supported_sync_modes": ["full_refresh"]
123
- },
124
- "sync_mode": "full_refresh",
125
- "destination_sync_mode": "overwrite"
126
- },
127
- {
128
- "stream": {
129
- "name": "lists",
130
- "json_schema": {},
131
- "supported_sync_modes": ["full_refresh"]
132
- },
133
- "sync_mode": "full_refresh",
134
- "destination_sync_mode": "overwrite"
135
- },
136
- {
137
- "stream": {
138
- "name": "list_users",
139
- "json_schema": {},
140
- "supported_sync_modes": ["full_refresh"]
141
- },
142
- "sync_mode": "full_refresh",
143
- "destination_sync_mode": "overwrite"
144
- },
145
- {
146
- "stream": {
147
- "name": "message_types",
148
- "json_schema": {},
149
- "supported_sync_modes": ["full_refresh"]
150
- },
151
- "sync_mode": "full_refresh",
152
- "destination_sync_mode": "overwrite"
153
- },
154
- {
155
- "stream": {
156
- "name": "metadata",
157
- "json_schema": {},
158
- "supported_sync_modes": ["full_refresh"]
159
- },
160
- "sync_mode": "full_refresh",
161
- "destination_sync_mode": "overwrite"
162
- },
163
- {
164
- "stream": {
165
- "name": "templates",
166
- "json_schema": {},
167
- "supported_sync_modes": ["full_refresh", "incremental"],
168
- "source_defined_cursor": true,
169
- "default_cursor_field": ["createdAt"]
170
- },
171
- "sync_mode": "full_refresh",
172
- "destination_sync_mode": "append"
173
- },
174
- {
175
- "stream": {
176
- "name": "users",
177
- "json_schema": {},
178
- "supported_sync_modes": ["full_refresh", "incremental"],
179
- "source_defined_cursor": true,
180
- "default_cursor_field": ["profileUpdatedAt"]
181
- },
182
- "sync_mode": "full_refresh",
183
- "destination_sync_mode": "append"
184
- }
185
- ]
186
- }