Skip to content

Commit 8ea32b2

Browse files
authored
Added body and attachments to conversations stream (#3)
* Added body and attachments to conversations stream * Switch size type to integer * Conversations attach id to integer
1 parent a5d6724 commit 8ea32b2

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

tap_freshdesk/schemas/conversations.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"type": "object",
33
"properties": {
4+
"body": {
5+
"type": ["null", "string"]
6+
},
47
"body_text": {
58
"type": ["null", "string"]
69
},
@@ -51,6 +54,54 @@
5154
"last_edited_user_id": {
5255
"type": ["null", "integer"]
5356
},
57+
"attachments": {
58+
"type": ["array"],
59+
"items": {
60+
"type": "object",
61+
"properties": {
62+
"id": {
63+
"type": ["null", "integer"]
64+
},
65+
"name": {
66+
"type": ["null", "string"]
67+
},
68+
"content_type": {
69+
"type": ["null", "string"]
70+
},
71+
"size": {
72+
"type": ["null", "integer"]
73+
},
74+
"created_at": {
75+
"anyOf": [
76+
{
77+
"type": "string",
78+
"format": "date-time"
79+
},
80+
{
81+
"type": "null"
82+
}
83+
]
84+
},
85+
"updated_at": {
86+
"anyOf": [
87+
{
88+
"type": "string",
89+
"format": "date-time"
90+
},
91+
{
92+
"type": "null"
93+
}
94+
]
95+
},
96+
"attachment_url": {
97+
"type": ["null", "string"]
98+
},
99+
"thumb_url": {
100+
"type": ["null", "string"]
101+
}
102+
}
103+
}
104+
},
54105
"automation_id": {
55106
"type": ["null", "integer"]
56107
},

0 commit comments

Comments
 (0)