Include requester and stats fields in tickets stream (#7486)
* Include requester and stats in tickets stream * Update documentation, rebase to lastest master state and bump version * run format * format files * correct other file * correct files Co-authored-by: Marcos Marx <marcosmarxm@gmail.com>
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -647,6 +647,12 @@
|
||||
},
|
||||
"description_text": {
|
||||
"type": "string"
|
||||
},
|
||||
"requester": {
|
||||
"type": "object"
|
||||
},
|
||||
"stats": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -100,6 +100,12 @@
|
||||
},
|
||||
"description_text": {
|
||||
"type": "string"
|
||||
},
|
||||
"requester": {
|
||||
"type": "object"
|
||||
},
|
||||
"stats": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user