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

🐛 Source Twilio: update schemas + turn on transformer for all streams #7034

Merged
merged 4 commits into from
Oct 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sourceDefinitionId": "b9dc6155-672e-42ea-b10d-9f1f1fb95ab1",
"name": "Twilio",
"dockerRepository": "airbyte/source-twilio",
"dockerImageTag": "0.1.0",
"dockerImageTag": "0.1.1",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/twilio"
}
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
- sourceDefinitionId: b9dc6155-672e-42ea-b10d-9f1f1fb95ab1
name: Twilio
dockerRepository: airbyte/source-twilio
dockerImageTag: 0.1.0
dockerImageTag: 0.1.1
documentationUrl: https://docs.airbyte.io/integrations/sources/twilio
sourceType: api
- sourceDefinitionId: ec4b9503-13cb-48ab-a4ab-6ade4be46567
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-twilio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.version=0.1.1
LABEL io.airbyte.name=airbyte/source-twilio
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,7 @@
{
"stream": {
"name": "calls",
"json_schema": {
"properties": {
"end_time": {
"format": "date-time",
"type": ["null", "string"]
}
},
"type": "object",
"additionalProperties": false
},
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["end_time"]
Expand All @@ -114,16 +105,7 @@
{
"stream": {
"name": "conferences",
"json_schema": {
"properties": {
"date_updated": {
"format": "date-time",
"type": ["null", "string"]
}
},
"type": "object",
"additionalProperties": false
},
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["date_updated"]
Expand Down Expand Up @@ -153,16 +135,7 @@
{
"stream": {
"name": "recordings",
"json_schema": {
"properties": {
"date_created": {
"format": "date-time",
"type": ["null", "string"]
}
},
"type": "object",
"additionalProperties": false
},
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["date_created"]
Expand Down Expand Up @@ -192,16 +165,7 @@
{
"stream": {
"name": "messages",
"json_schema": {
"properties": {
"date_sent": {
"format": "date-time",
"type": ["null", "string"]
}
},
"type": "object",
"additionalProperties": false
},
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["date_sent"]
Expand All @@ -213,16 +177,7 @@
{
"stream": {
"name": "message_media",
"json_schema": {
"properties": {
"date_created": {
"format": "date-time",
"type": ["null", "string"]
}
},
"type": "object",
"additionalProperties": false
},
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["date_created"]
Expand All @@ -234,16 +189,7 @@
{
"stream": {
"name": "usage_records",
"json_schema": {
"properties": {
"start_date": {
"format": "date",
"type": ["null", "string"]
}
},
"type": "object",
"additionalProperties": false
},
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["start_date"]
Expand All @@ -264,16 +210,7 @@
{
"stream": {
"name": "alerts",
"json_schema": {
"properties": {
"date_updated": {
"format": "date-time",
"type": ["null", "string"]
}
},
"type": "object",
"additionalProperties": false
},
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["date_updated"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,18 +188,6 @@
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "alerts",
"json_schema": {},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"default_cursor_field": ["date_updated"]
},
"cursor_field": ["date_updated"],
"sync_mode": "incremental",
"destination_sync_mode": "append"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"street": {
"type": ["null", "string"]
},
"street_secondary": {
"type": ["null", "string"]
},
"validated": {
"type": ["null", "boolean"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"uri": {
"type": ["null", "string"]
},
"voice_callback_id_lookup": {
"voice_caller_id_lookup": {
"type": ["null", "boolean"]
},
"voice_fallback_method": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"type": ["null", "integer"]
},
"price": {
"multipleOf": 1e-8,
"type": ["null", "number"]
},
"price_unit": {
Expand Down Expand Up @@ -92,6 +91,21 @@
},
"notifications": {
"type": ["null", "string"]
},
"feedback": {
"type": ["null", "string"]
},
"payments": {
"type": ["null", "string"]
},
"siprec": {
"type": ["null", "string"]
},
"events": {
"type": ["null", "string"]
},
"feedback_summaries": {
"type": ["null", "string"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"call_sid": {
"type": ["null", "string"]
},
"label": {
"type": ["null", "string"]
},
"conference_sid": {
"type": ["null", "string"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": ["null", "string"]
},
"date_updated": {
"format": "date-time",
"format": "date",
"type": ["null", "string"]
},
"api_version": {
Expand Down Expand Up @@ -36,17 +36,14 @@
"type": ["null", "string"]
},
"subresource_uris": {
"type": ["array"],
"items": {
"type": ["null", "object"],
"additionalProperties": false,
"properties": {
"participants": {
"type": ["null", "string"]
},
"recordings": {
"type": ["null", "string"]
}
"type": ["null", "object"],
"additionalProperties": false,
"properties": {
"participants": {
"type": ["null", "string"]
},
"recordings": {
"type": ["null", "string"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,13 @@
},
"capabilities": {
"properties": {
"voice": {
"Voice": {
"type": ["null", "boolean"]
},
"sms": {
"SMS": {
"type": ["null", "boolean"]
},
"mms": {
"type": ["null", "boolean"]
},
"fax": {
"MMS": {
"type": ["null", "boolean"]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
"emergency_address_sid": {
"type": ["null", "string"]
},
"emergency_address_status": {
"type": ["null", "string"]
},
"address_sid": {
"type": ["null", "string"]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"properties": {
"account_sid": {
"type": ["null", "string"]
},
"date_created": {
"format": "date-time",
"type": ["null", "string"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@
"messaging_service_sid": {
"type": ["null", "string"]
},
"price_unit": {
"type": ["null", "string"]
},
"num_media": {
"type": ["null", "integer"]
},
"num_segments": {
"type": ["null", "integer"]
},
"price": {
"multipleOf": 1e-8,
"type": ["null", "number"]
},
"sid": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,11 @@
"type": ["null", "string"]
},
"subresource_uris": {
"type": "array",
"items": {
"type": ["null", "object"],
"additionalProperties": false,
"properties": {
"members": {
"type": ["null", "string"]
}
"type": ["null", "object"],
"additionalProperties": false,
"properties": {
"members": {
"type": ["null", "string"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"type": ["null", "string"]
},
"price": {
"multipleOf": 1e-8,
"type": ["null", "number"]
},
"price_unit": {
Expand All @@ -47,7 +46,7 @@
"type": ["null", "string"]
},
"error_code": {
"type": ["null", "string"]
"type": ["null", "integer"]
},
"uri": {
"type": ["null", "string"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"type": ["null", "integer"]
},
"price": {
"multipleOf": 1e-8,
"type": ["null", "number"]
},
"price_unit": {
Expand Down
Loading