Skip to content

Commit

Permalink
Source Intercom: update connector to newest API v2.11, update convers…
Browse files Browse the repository at this point in the history
…ation_parts stream (#51619)

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
Co-authored-by: Danylo Jablonski <150933663+DanyloGL@users.noreply.github.com>
Co-authored-by: Daryna Ishchenko <80129833+darynaishchenko@users.noreply.github.com>
Co-authored-by: darynaishchenko <darina.ishchenko17@gmail.com>
  • Loading branch information
5 people authored Feb 3, 2025
1 parent 968566d commit 29c3bb5
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 18 deletions.
106 changes: 93 additions & 13 deletions airbyte-integrations/connectors/source-intercom/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ definitions:
type: BearerAuthenticator
api_token: "{{ config['access_token'] }}"
request_headers:
# There is a bug in interpolation, causing the `2.10` string to be evaluated to `2.1`, cutting off the `0`.
# the workaround is to put the `string` inside the `string`, then it's evaluated properly to `2.10`
Intercom-Version: "'2.10'"
Intercom-Version: "2.11"
Accept: "application/json"
error_handler:
type: CustomErrorHandler
Expand Down Expand Up @@ -1605,16 +1603,6 @@ definitions:
- string
conversations:
$ref: "#/definitions/stream_incremental_search"
retriever:
$ref: "#/definitions/stream_incremental_search/retriever"
requester:
$ref: "#/definitions/requester_incremental_search"
request_headers:
# API version header
# There are 404 - User Not Found issue, when `2.10` is used, for certain users:
# https://github.com/airbytehq/oncall/issues/4514
Intercom-Version: "2.9"
Accept: "application/json"
$parameters:
name: "conversations"
path: "conversations/search"
Expand Down Expand Up @@ -1751,6 +1739,11 @@ definitions:
type:
- "null"
- string
external_id:
description: The unique identifier for the contact which is provided by the Client.
type:
- "null"
- string
teammates:
description: List of teammates involved in the conversation.
type:
Expand Down Expand Up @@ -2293,6 +2286,93 @@ definitions:
type:
- "null"
- integer
ai_agent_participated:
description: Indicates whether the AI Agent participated in the conversation.
type:
- "null"
- boolean
ai_agent:
description: Data related to AI Agent involvement in the conversation.
type:
- "null"
- object
properties:
source_type:
description: The type of the source that triggered AI Agent involvement in the conversation.
type:
- "null"
- string
source_title:
description: The title of the source that triggered AI Agent involvement in the conversation.
type:
- "null"
- string
last_answer_type:
description: The type of the last answer delivered by AI Agent.
type:
- "null"
- string
resolution_state:
description: The resolution state of AI Agent.
type:
- "null"
- string
rating:
description: The customer satisfaction rating given to AI Agent, from 1-5.
type:
- "null"
- integer
rating_remark:
description: The customer satisfaction rating remark given to AI Agent.
type:
- "null"
- string
content_sources:
description: The content sources used by AI Agent in the conversation.
type:
- "null"
- object
properties:
type:
description: The type of the content source.
type:
- "null"
- string
total_count:
description: The total number of content sources used by AI Agent in the conversation.
type:
- "null"
- integer
content_sources:
description: The content sources used by AI Agent in the conversation.
type:
- "null"
- array
items:
type:
- "null"
- object
properties:
content_type:
description: The type of the content source.
type:
- "null"
- string
url:
description: The internal URL linking to the content source for teammates.
type:
- "null"
- string
title:
description: The title of the content source.
type:
- "null"
- string
locale:
description: The ISO 639 language code of the content source.
type:
- "null"
- string
activity_logs:
$ref: "#/definitions/stream_full_refresh"
primary_key: id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: d8313939-3782-41b0-be29-b3ca20d8dd3a
dockerImageTag: 0.10.1
dockerImageTag: 0.11.0
dockerRepository: airbyte/source-intercom
documentationUrl: https://docs.airbyte.com/integrations/sources/intercom
githubIssueLabel: source-intercom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description = "Unit tests for source-intercom"
authors = ["Airbyte <contact@airbyte.io>"]
[tool.poetry.dependencies]
python = "^3.10,<3.13"
airbyte-cdk = "6.10.0"
airbyte-cdk = "6.28.0"
pytest = "^8"
[tool.pytest.ini_options]
filterwarnings = [
Expand Down
7 changes: 4 additions & 3 deletions docs/integrations/sources/intercom.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,10 @@ The Intercom connector should not run into Intercom API limitations under normal

| Version | Date | Pull Request | Subject |
|:-----------|:-----------|:---------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|
| 0.10.1 | 2025-02-01 | [49212](https://github.com/airbytehq/airbyte/pull/49212) | Update dependencies |
| 0.10.0 | 2025-01-24 | [52132](https://github.com/airbytehq/airbyte/pull/52132) | Fix incremental sync |
| 0.9.0 | 2025-01-15 | [51570](https://github.com/airbytehq/airbyte/pull/51570) | Promoting release candidate 0.9.0-rc.2 to a main version. |
| 0.11.0 | 2025-02-03 | [51619](https://github.com/airbytehq/airbyte/pull/51619) | Upgrade API version to 2.11, add ai_agent_participated and ai_agent fields conversations stream schema |
| 0.10.1 | 2025-02-01 | [49212](https://github.com/airbytehq/airbyte/pull/49212) | Update dependencies |
| 0.10.0 | 2025-01-24 | [52132](https://github.com/airbytehq/airbyte/pull/52132) | Fix incremental sync |
| 0.9.0 | 2025-01-15 | [51570](https://github.com/airbytehq/airbyte/pull/51570) | Promoting release candidate 0.9.0-rc.2 to a main version. |
| 0.9.0-rc.2 | 2025-01-13 | [49936](https://github.com/airbytehq/airbyte/pull/49936) | Incremental substream fixes |
| 0.9.0-rc.1 | 2024-12-17 | [47240](https://github.com/airbytehq/airbyte/pull/47240) | Migrate to manifest-only format |
| 0.8.3 | 2024-12-12 | [48979](https://github.com/airbytehq/airbyte/pull/48979) | Update dependencies |
Expand Down

0 comments on commit 29c3bb5

Please sign in to comment.