Skip to content

Commit 351607a

Browse files
bleonardlazebnyi
andauthored
source-twilio: ensure inline schemas, updated cdk, poetry (where possible) (#36666)
Co-authored-by: Serhii Lazebnyi <[email protected]> Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent a911885 commit 351607a

38 files changed

+673
-60
lines changed

airbyte-integrations/connectors/source-twilio/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ data:
1313
connectorSubtype: api
1414
connectorType: source
1515
definitionId: b9dc6155-672e-42ea-b10d-9f1f1fb95ab1
16-
dockerImageTag: 0.11.0
16+
dockerImageTag: 0.11.2
1717
dockerRepository: airbyte/source-twilio
1818
documentationUrl: https://docs.airbyte.com/integrations/sources/twilio
1919
githubIssueLabel: source-twilio

airbyte-integrations/connectors/source-twilio/poetry.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-twilio/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "0.11.0"
6+
version = "0.11.2"
77
name = "source-twilio"
88
description = "Source implementation for Twilio."
99
authors = [ "Airbyte <[email protected]>",]
@@ -17,7 +17,7 @@ include = "source_twilio"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.80.0"
2121
pendulum = "==2.1.2"
2222
requests = "==2.31.0"
2323

airbyte-integrations/connectors/source-twilio/source_twilio/schemas/accounts.json

+10
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
11
{
22
"properties": {
33
"auth_token": {
4+
"description": "The authentication token for the account",
45
"type": ["null", "string"]
56
},
67
"date_created": {
8+
"description": "The timestamp when the account was created",
79
"format": "date-time",
810
"type": ["null", "string"]
911
},
1012
"date_updated": {
13+
"description": "The timestamp when the account was last updated",
1114
"format": "date-time",
1215
"type": ["null", "string"]
1316
},
1417
"friendly_name": {
18+
"description": "A user-defined friendly name for the account",
1519
"type": ["null", "string"]
1620
},
1721
"owner_account_sid": {
22+
"description": "The SID of the owner account",
1823
"type": ["null", "string"]
1924
},
2025
"sid": {
26+
"description": "The unique identifier for the account",
2127
"type": ["null", "string"]
2228
},
2329
"status": {
30+
"description": "The current status of the account",
2431
"type": ["null", "string"]
2532
},
2633
"subresource_uris": {
34+
"description": "URIs for accessing various subresources related to the account",
2735
"type": ["null", "object"],
2836
"additionalProperties": true,
2937
"properties": {
@@ -90,9 +98,11 @@
9098
}
9199
},
92100
"type": {
101+
"description": "The type of the account",
93102
"type": ["null", "string"]
94103
},
95104
"uri": {
105+
"description": "The URI for accessing the account resource",
96106
"type": ["null", "string"]
97107
}
98108
},

airbyte-integrations/connectors/source-twilio/source_twilio/schemas/addresses.json

+16
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,69 @@
11
{
22
"properties": {
33
"account_sid": {
4+
"description": "The unique identifier of the account associated with this address.",
45
"type": ["null", "string"]
56
},
67
"city": {
8+
"description": "The city of the address.",
79
"type": ["null", "string"]
810
},
911
"customer_name": {
12+
"description": "The name of the customer associated with this address.",
1013
"type": ["null", "string"]
1114
},
1215
"date_created": {
16+
"description": "The date and time when the address was created.",
1317
"format": "date-time",
1418
"type": ["null", "string"]
1519
},
1620
"date_updated": {
21+
"description": "The date and time when the address was last updated.",
1722
"format": "date-time",
1823
"type": ["null", "string"]
1924
},
2025
"emergency_enabled": {
26+
"description": "Indicates whether emergency services are enabled for this address.",
2127
"type": ["null", "boolean"]
2228
},
2329
"friendly_name": {
30+
"description": "A friendly name or label for the address.",
2431
"type": ["null", "string"]
2532
},
2633
"iso_country": {
34+
"description": "The ISO 3166-1 alpha-2 country code of the address.",
2735
"type": ["null", "string"]
2836
},
2937
"postal_code": {
38+
"description": "The postal code of the address.",
3039
"type": ["null", "string"]
3140
},
3241
"region": {
42+
"description": "The region or state of the address.",
3343
"type": ["null", "string"]
3444
},
3545
"sid": {
46+
"description": "The unique identifier of the address.",
3647
"type": ["null", "string"]
3748
},
3849
"street": {
50+
"description": "The street address.",
3951
"type": ["null", "string"]
4052
},
4153
"street_secondary": {
54+
"description": "Additional information about the street address, such as suite number.",
4255
"type": ["null", "string"]
4356
},
4457
"validated": {
58+
"description": "Indicates whether the address has been validated.",
4559
"type": ["null", "boolean"]
4660
},
4761
"verified": {
62+
"description": "Indicates whether the address has been verified.",
4863
"type": ["null", "boolean"]
4964
},
5065
"uri": {
66+
"description": "The URI of the address resource.",
5167
"type": ["null", "string"]
5268
}
5369
},

airbyte-integrations/connectors/source-twilio/source_twilio/schemas/alerts.json

+15
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,66 @@
11
{
22
"properties": {
33
"log_level": {
4+
"description": "The severity level of the alert (info, warning, error)",
45
"type": ["null", "string"]
56
},
67
"resource_sid": {
8+
"description": "The SID of the specific resource associated with the alert",
79
"type": ["null", "string"]
810
},
911
"date_updated": {
12+
"description": "The date and time when the alert was last updated",
1013
"format": "date-time",
1114
"type": ["null", "string"]
1215
},
1316
"account_sid": {
17+
"description": "The unique identifier for the account associated with the alert",
1418
"type": ["null", "string"]
1519
},
1620
"url": {
21+
"description": "The URL or endpoint related to the alert",
1722
"type": ["null", "string"]
1823
},
1924
"request_method": {
25+
"description": "The method used in the HTTP request that triggered the alert",
2026
"type": ["null", "string"]
2127
},
2228
"date_generated": {
29+
"description": "The date and time when the alert data was generated",
2330
"format": "date-time",
2431
"type": ["null", "string"]
2532
},
2633
"alert_text": {
34+
"description": "The actual content or text of the alert message",
2735
"type": ["null", "string"]
2836
},
2937
"sid": {
38+
"description": "The unique identifier (SID) for the alert entry",
3039
"type": ["null", "string"]
3140
},
3241
"date_created": {
42+
"description": "The date and time when the alert was created",
3343
"format": "date-time",
3444
"type": ["null", "string"]
3545
},
3646
"request_url": {
47+
"description": "The URL that was requested and triggered the alert",
3748
"type": ["null", "string"]
3849
},
3950
"service_sid": {
51+
"description": "The SID of the Twilio service related to the alert",
4052
"type": ["null", "string"]
4153
},
4254
"error_code": {
55+
"description": "The code representing the error, if an error occurred",
4356
"type": ["null", "string"]
4457
},
4558
"api_version": {
59+
"description": "The version of the Twilio API used for the alert",
4660
"type": ["null", "string"]
4761
},
4862
"more_info": {
63+
"description": "Additional information or details related to the alert",
4964
"type": ["null", "string"]
5065
}
5166
},

airbyte-integrations/connectors/source-twilio/source_twilio/schemas/applications.json

+21
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,89 @@
11
{
22
"properties": {
33
"account_sid": {
4+
"description": "The unique identifier of the Twilio account associated with the application.",
45
"type": ["null", "string"]
56
},
67
"api_version": {
8+
"description": "The version of the Twilio API being used for the application.",
79
"type": ["null", "string"]
810
},
911
"date_created": {
12+
"description": "The date and time when the application was created.",
1013
"format": "date-time",
1114
"type": ["null", "string"]
1215
},
1316
"date_updated": {
17+
"description": "The date and time when the application was last updated.",
1418
"format": "date-time",
1519
"type": ["null", "string"]
1620
},
1721
"friendly_name": {
22+
"description": "A user-friendly name assigned to the application for identification.",
1823
"type": ["null", "string"]
1924
},
2025
"message_status_callback": {
26+
"description": "The URL where status updates for outgoing messages will be sent.",
2127
"type": ["null", "string"]
2228
},
2329
"sid": {
30+
"description": "A unique identifier for the application.",
2431
"type": ["null", "string"]
2532
},
2633
"sms_fallback_method": {
34+
"description": "The HTTP method used to send a fallback URL if an error occurs during SMS delivery.",
2735
"type": ["null", "string"]
2836
},
2937
"sms_fallback_url": {
38+
"description": "The URL that Twilio will request if an error occurs during SMS delivery.",
3039
"type": ["null", "string"]
3140
},
3241
"sms_method": {
42+
"description": "The HTTP method used to send SMS messages for the application.",
3343
"type": ["null", "string"]
3444
},
3545
"public_application_connect_enabled": {
46+
"description": "Indicates whether public application connect is enabled for the application.",
3647
"type": ["null", "boolean"]
3748
},
3849
"sms_status_callback": {
50+
"description": "The URL where status updates for incoming SMS messages will be sent.",
3951
"type": ["null", "string"]
4052
},
4153
"sms_url": {
54+
"description": "The URL that Twilio will request when receiving an incoming SMS message.",
4255
"type": ["null", "string"]
4356
},
4457
"status_callback": {
58+
"description": "The URL where status updates for calls will be sent.",
4559
"type": ["null", "string"]
4660
},
4761
"status_callback_method": {
62+
"description": "The HTTP method used to send status updates for calls.",
4863
"type": ["null", "string"]
4964
},
5065
"uri": {
66+
"description": "The URI of the application resource.",
5167
"type": ["null", "string"]
5268
},
5369
"voice_caller_id_lookup": {
70+
"description": "Indicates whether or not caller ID information will be looked up for incoming calls.",
5471
"type": ["null", "boolean"]
5572
},
5673
"voice_fallback_method": {
74+
"description": "The HTTP method used to send a fallback URL if an error occurs during voice call handling.",
5775
"type": ["null", "string"]
5876
},
5977
"voice_fallback_url": {
78+
"description": "The URL that Twilio will request if an error occurs during voice call handling.",
6079
"type": ["null", "string"]
6180
},
6281
"voice_method": {
82+
"description": "The HTTP method used for voice call handling.",
6383
"type": ["null", "string"]
6484
},
6585
"voice_url": {
86+
"description": "The URL that Twilio will request for voice call handling.",
6687
"type": ["null", "string"]
6788
}
6889
},

0 commit comments

Comments
 (0)