Skip to content

Commit f60e79d

Browse files
authored
Merge pull request #9 from Pathlight/SOL-333v0.2
Updated events.json schema to map call-recording URLs, in addition to…
2 parents f412632 + b465646 commit f60e79d

File tree

1 file changed

+143
-86
lines changed

1 file changed

+143
-86
lines changed

tap_gorgias/schemas/events.json

Lines changed: 143 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,151 @@
11
{
2-
"type":[
3-
"null",
4-
"object"
2+
"type": [
3+
"null",
4+
"object"
55
],
6-
"additionalProperties":false,
7-
"properties":{
8-
"id":{
9-
"type":[
10-
"null",
11-
"integer"
12-
]
13-
},
14-
"uri":{
15-
"type":[
16-
"null",
17-
"string"
18-
]
19-
},
20-
"context":{
21-
"type":[
22-
"null",
23-
"string"
24-
]
25-
},
26-
"object_id":{
27-
"type":[
28-
"null",
29-
"integer"
30-
]
31-
},
32-
"object_type":{
33-
"type":[
34-
"null",
35-
"string"
36-
]
37-
},
38-
"created_datetime":{
39-
"type":[
40-
"null",
41-
"string"
6+
"additionalProperties": false,
7+
"properties": {
8+
"id": {
9+
"type": [
10+
"null",
11+
"integer"
12+
]
13+
},
14+
"uri": {
15+
"type": [
16+
"null",
17+
"string"
18+
]
19+
},
20+
"context": {
21+
"type": [
22+
"null",
23+
"string"
24+
]
25+
},
26+
"object_id": {
27+
"type": [
28+
"null",
29+
"integer"
30+
]
31+
},
32+
"object_type": {
33+
"type": [
34+
"null",
35+
"string"
36+
]
37+
},
38+
"created_datetime": {
39+
"type": [
40+
"null",
41+
"string"
42+
],
43+
"format": "date-time"
44+
},
45+
"user_id": {
46+
"type": [
47+
"null",
48+
"integer"
49+
]
50+
},
51+
"type": {
52+
"type": [
53+
"null",
54+
"string"
55+
]
56+
},
57+
"data": {
58+
"type": [
59+
"null",
60+
"object"
61+
],
62+
"additionalProperties": false,
63+
"properties": {
64+
"call": {
65+
"type": [
66+
"null",
67+
"object"
4268
],
43-
"format":"date-time"
44-
},
45-
"user_id":{
46-
"type":[
47-
"null",
48-
"integer"
49-
]
50-
},
51-
"type":{
52-
"type":[
53-
"null",
54-
"string"
55-
]
56-
},
57-
"data":{
58-
"type":[
59-
"null",
60-
"object"
69+
"additionalProperties": false,
70+
"properties": {
71+
"recording_url": {
72+
"type": [
73+
"null",
74+
"string"
75+
]
76+
},
77+
"direction": {
78+
"type": [
79+
"null",
80+
"string"
81+
]
82+
},
83+
"recording_duration": {
84+
"type": [
85+
"null",
86+
"integer"
87+
]
88+
},
89+
"gorgias_recording_url": {
90+
"type": [
91+
"null",
92+
"string"
93+
]
94+
}
95+
}
96+
},
97+
"recording": {
98+
"type": [
99+
"null",
100+
"object"
61101
],
62-
"additionalProperties":false,
63-
"properties":{
64-
"call":{
65-
"type":[
66-
"null",
67-
"object"
68-
],
69-
"additionalProperties":false,
70-
"properties":{
71-
"recording_url":{
72-
"type":[
73-
"null",
74-
"string"
75-
]
76-
},
77-
"recording_duration":{
78-
"type":[
79-
"null",
80-
"integer"
81-
]
82-
},
83-
"gorgias_recording_url":{
84-
"type":[
85-
"null",
86-
"string"
87-
]
88-
}
89-
}
102+
"additionalProperties": false,
103+
"properties": {
104+
"file": {
105+
"type": [
106+
"null",
107+
"string"
108+
],
109+
"additionalProperties": false,
110+
"properties": {
111+
"url": {
112+
"type": [
113+
"null",
114+
"string"
115+
]
116+
}
117+
}
118+
},
119+
"original": {
120+
"type": [
121+
"null",
122+
"string"
123+
],
124+
"additionalProperties": false,
125+
"properties": {
126+
"url": {
127+
"type": [
128+
"null",
129+
"string"
130+
]
131+
},
132+
"status": {
133+
"type": [
134+
"null",
135+
"string"
136+
]
137+
},
138+
"duration": {
139+
"type": [
140+
"null",
141+
"integer"
142+
]
143+
}
90144
}
145+
}
91146
}
147+
}
92148
}
149+
}
93150
}
94-
}
151+
}

0 commit comments

Comments
 (0)