Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Adding some fields to events stream (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinSindberg authored Feb 22, 2021
1 parent 2bc55ec commit 8020f5c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
41 changes: 40 additions & 1 deletion tap_twilio/schemas/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,37 @@
],
"additionalProperties": false,
"properties": {
"task_age": {
"type": [
"null",
"integer"
]
},
"task_queue_entered_date": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"task_queue_name": {
"type": [
"null",
"string"
]
},
"task_queue_sid": {
"type": [
"null",
"string"
]
},
"task_sid": {
"type": [
"null",
"string"
]
},
"worker_activity_name": {
"type": [
"null",
Expand All @@ -54,7 +85,8 @@
"worker_attributes": {
"type": [
"null",
"string"
"object",
"array"
]
},
"worker_name": {
Expand Down Expand Up @@ -92,6 +124,13 @@
"null",
"string"
]
},
"task_attributes": {
"type": [
"null",
"object",
"array"
]
}
}
},
Expand Down
1 change: 1 addition & 0 deletions tap_twilio/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@
'replication_keys': ['event_date'],
'bookmark_query_field_from': 'StartDate',
'synch_since_bookmark': True,
'stringified_json_keys': ['worker_attributes', 'task_attributes'],
'params': {},
'pagination': 'meta',
},
Expand Down

0 comments on commit 8020f5c

Please sign in to comment.