From 324fd247a86a851bb94adab97122d4928e255bb9 Mon Sep 17 00:00:00 2001 From: alvova Date: Mon, 20 Jun 2022 15:10:14 +0300 Subject: [PATCH 1/3] Upd responses schema --- .../connectors/source-typeform/Dockerfile | 2 +- .../source_typeform/schemas/responses.json | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-typeform/Dockerfile b/airbyte-integrations/connectors/source-typeform/Dockerfile index b1062f9930a5..9c3a1a6a5c64 100644 --- a/airbyte-integrations/connectors/source-typeform/Dockerfile +++ b/airbyte-integrations/connectors/source-typeform/Dockerfile @@ -12,5 +12,5 @@ RUN pip install . ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.6 +LABEL io.airbyte.version=0.1.7 LABEL io.airbyte.name=airbyte/source-typeform diff --git a/airbyte-integrations/connectors/source-typeform/source_typeform/schemas/responses.json b/airbyte-integrations/connectors/source-typeform/source_typeform/schemas/responses.json index 0b87b257f4f7..88c145066497 100644 --- a/airbyte-integrations/connectors/source-typeform/source_typeform/schemas/responses.json +++ b/airbyte-integrations/connectors/source-typeform/source_typeform/schemas/responses.json @@ -110,6 +110,45 @@ } } } + }, + "number": { + "type": ["null", "number"] + }, + "date": { + "type": ["null", "string"], + "format": "date-time" + }, + "email": { + "type": ["null", "string"] + }, + "phone_number": { + "type": ["null", "string"] + }, + "boolean": { + "type": ["null", "boolean"] + }, + "file_url": { + "type": ["null", "string"] + }, + "url": { + "type": ["null", "string"] + }, + "payment": { + "type": ["null", "object"], + "properties": { + "amount": { + "type": ["null", "string"] + }, + "last4": { + "type": ["null", "string"] + }, + "name": { + "type": ["null", "string"] + }, + "success": { + "type": ["null", "boolean"] + } + } } } } From ae7c46e7a74ac0b51e4e07664f1f54809c8c65a0 Mon Sep 17 00:00:00 2001 From: alvova Date: Mon, 20 Jun 2022 15:15:15 +0300 Subject: [PATCH 2/3] Upd docs --- docs/integrations/sources/typeform.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/docs/integrations/sources/typeform.md b/docs/integrations/sources/typeform.md index 525fb9d2e686..77916224f007 100644 --- a/docs/integrations/sources/typeform.md +++ b/docs/integrations/sources/typeform.md @@ -14,6 +14,10 @@ This Source is capable of syncing the following Streams: * [Forms](https://developer.typeform.com/create/reference/retrieve-form/) \(Full Refresh\) * [Responses](https://developer.typeform.com/responses/reference/retrieve-responses/) \(Incremental\) +* [Webhooks](https://developer.typeform.com/webhooks/reference/retrieve-webhooks/) \(Full Refresh\) +* [Workspaces](https://developer.typeform.com/create/reference/retrieve-workspaces/) \(Full Refresh\) +* [Images](https://developer.typeform.com/create/reference/retrieve-images-collection/) \(Full Refresh\) +* [Themes](https://developer.typeform.com/create/reference/retrieve-themes/) \(Full Refresh\) #### Data type mapping @@ -35,8 +39,9 @@ This Source is capable of syncing the following Streams: ### Requirements -* token - The Typeform API key token +* token - The Typeform API key token. * start\_date - Date to start fetching Responses stream data from. +* form_ids (Optional) - List of Form Ids to sync. If not passed - sync all account`s forms. ### Setup guide @@ -63,12 +68,13 @@ API rate limits \(2 requests per second\): [https://developer.typeform.com/get-s ## Changelog -| Version | Date | Pull Request | Subject | -| :--- | :--- | :--- | :--- | -| 0.1.6 | 2022-05-23 | [12280](https://github.com/airbytehq/airbyte/pull/12280) | Full Stream Coverage | -| 0.1.4 | 2021-12-08 | [8425](https://github.com/airbytehq/airbyte/pull/8425) | Update title, description fields in spec | -| 0.1.3 | 2021-12-07 | [8466](https://github.com/airbytehq/airbyte/pull/8466) | Change Check Connection Function Logic | -| 0.1.2 | 2021-10-11 | [6571](https://github.com/airbytehq/airbyte/pull/6571) | Support pulling data from a select set of forms | -| 0.1.1 | 2021-09-06 | [5799](https://github.com/airbytehq/airbyte/pull/5799) | Add missed choices field to responses schema | -| 0.1.0 | 2021-07-10 | [4541](https://github.com/airbytehq/airbyte/pull/4541) | Initial release for Typeform API supporting Forms and Responses streams | +| Version | Date | Pull Request | Subject | +|:--------|:-----------|:----------------------------------------------------------|:------------------------------------------------------------------------| +| 0.1.7 | 2022-06-20 | [13935](https://github.com/airbytehq/airbyte/pull/13935) | Update Responses stream schema | +| 0.1.6 | 2022-05-23 | [12280](https://github.com/airbytehq/airbyte/pull/12280) | Full Stream Coverage | +| 0.1.4 | 2021-12-08 | [8425](https://github.com/airbytehq/airbyte/pull/8425) | Update title, description fields in spec | +| 0.1.3 | 2021-12-07 | [8466](https://github.com/airbytehq/airbyte/pull/8466) | Change Check Connection Function Logic | +| 0.1.2 | 2021-10-11 | [6571](https://github.com/airbytehq/airbyte/pull/6571) | Support pulling data from a select set of forms | +| 0.1.1 | 2021-09-06 | [5799](https://github.com/airbytehq/airbyte/pull/5799) | Add missed choices field to responses schema | +| 0.1.0 | 2021-07-10 | [4541](https://github.com/airbytehq/airbyte/pull/4541) | Initial release for Typeform API supporting Forms and Responses streams | From c0219946452417bd4282c6228fd7e9be5f0589e5 Mon Sep 17 00:00:00 2001 From: Octavia Squidington III Date: Tue, 21 Jun 2022 12:38:00 +0000 Subject: [PATCH 3/3] auto-bump connector version --- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- airbyte-config/init/src/main/resources/seed/source_specs.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index accb9ca3462b..acbda234019f 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -961,7 +961,7 @@ - name: Typeform sourceDefinitionId: e7eff203-90bf-43e5-a240-19ea3056c474 dockerRepository: airbyte/source-typeform - dockerImageTag: 0.1.6 + dockerImageTag: 0.1.7 documentationUrl: https://docs.airbyte.io/integrations/sources/typeform icon: typeform.svg sourceType: api diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index 852de608c6b3..488f7dd1a518 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -9284,7 +9284,7 @@ supportsDBT: false supported_destination_sync_modes: - "append" -- dockerImage: "airbyte/source-typeform:0.1.6" +- dockerImage: "airbyte/source-typeform:0.1.7" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/typeform" connectionSpecification: