Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include requester and stats fields in tickets stream #7486

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "ec4b9503-13cb-48ab-a4ab-6ade4be46567",
"name": "Freshdesk",
"dockerRepository": "airbyte/source-freshdesk",
"dockerImageTag": "0.2.7",
"dockerImageTag": "0.2.8",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/freshdesk",
"icon": "freshdesk.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
- name: Freshdesk
sourceDefinitionId: ec4b9503-13cb-48ab-a4ab-6ade4be46567
dockerRepository: airbyte/source-freshdesk
dockerImageTag: 0.2.7
dockerImageTag: 0.2.8
documentationUrl: https://docs.airbyte.io/integrations/sources/freshdesk
icon: freshdesk.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-freshdesk:0.2.7"
- dockerImage: "airbyte/source-freshdesk:0.2.8"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/freshdesk"
connectionSpecification:
Expand Down
3 changes: 3 additions & 0 deletions airbyte-integrations/connectors/source-freshdesk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.2.8
Include `requester` and `stats` fields in `tickets` stream

## 0.2.7
Add start_date parameter to specification from which to start pulling data.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ RUN pip install .

ENV AIRBYTE_ENTRYPOINT "/airbyte/base.sh"

LABEL io.airbyte.version=0.2.7
LABEL io.airbyte.version=0.2.8
LABEL io.airbyte.name=airbyte/source-freshdesk
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,12 @@
},
"description_text": {
"type": "string"
},
"requester": {
"type": "object"
},
"stats": {
"type": "object"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ class TicketsAPI(IncrementalStreamAPI):

def list(self, fields: Sequence[str] = None) -> Iterator[dict]:
"""Iterate over entities"""
params = {"include": "description"}
includes = ["description", "requester", "stats"]
params = {"include": ",".join(includes)}
yield from self.read(partial(self._api_get, url="tickets"), params=params)

@staticmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@
},
"description_text": {
"type": "string"
},
"requester": {
"type": "object"
},
"stats": {
"type": "object"
}
}
}
1 change: 1 addition & 0 deletions docs/integrations/sources/freshdesk.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Please read [How to find your API key](https://support.freshdesk.com/support/sol

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.2.8 | 2021-10-28 | [7486](https://github.com/airbytehq/airbyte/pull/7486) | Include "requester" and "stats" fields in "tickets" stream |
| 0.2.7 | 2021-10-13 | [6442](https://github.com/airbytehq/airbyte/pull/6442) | Add start_date parameter to specification from which to start pulling data. |