Skip to content

Commit

Permalink
[Librarian] Regenerated @ 78bf2bbef74e4846ca8353fbdee038a6b8080c59
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Sep 5, 2024
1 parent e3252d1 commit c22dc49
Show file tree
Hide file tree
Showing 61 changed files with 1,777 additions and 360 deletions.
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
twilio-oai changelog
====================
[2024-09-05] Version 2.1.0
--------------------------
**Iam**
- updated library_visibility public for new public apikeys

**Numbers**
- Add new field in Error Codes for Regulatory Compliance.
- Change typing of Port In Request date_created field to date_time instead of date **(breaking change)**


[2024-08-26] Version 2.0.3
--------------------------
**Library - Fix**
Expand Down
9 changes: 0 additions & 9 deletions spec/json/twilio_api_v2010.json
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,6 @@
"channels": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options."
},
"source": {
Expand Down Expand Up @@ -1884,7 +1883,6 @@
"channels": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options."
},
"source": {
Expand Down Expand Up @@ -3683,7 +3681,6 @@
"position": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "This member's current position in the queue."
},
"uri": {
Expand All @@ -3694,7 +3691,6 @@
"wait_time": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of seconds the member has been in the queue."
},
"queue_sid": {
Expand Down Expand Up @@ -4515,7 +4511,6 @@
"current_size": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of calls currently in the queue."
},
"friendly_name": {
Expand All @@ -4539,7 +4534,6 @@
"average_wait_time": {
"type": "integer",
"default": 0,
"nullable": true,
"description": " The average wait time in seconds of the members in this queue. This is calculated at the time of the request."
},
"sid": {
Expand All @@ -4559,7 +4553,6 @@
"max_size": {
"type": "integer",
"default": 0,
"nullable": true,
"description": " The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000."
}
}
Expand Down Expand Up @@ -4717,7 +4710,6 @@
"channels": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of channels in the final recording file. Can be: `1` or `2`."
},
"source": {
Expand Down Expand Up @@ -5764,7 +5756,6 @@
"cidr_prefix_length": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used."
},
"ip_access_control_list_sid": {
Expand Down
1 change: 0 additions & 1 deletion spec/json/twilio_bulkexports_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"size": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The size of the day's data file in bytes"
},
"create_date": {
Expand Down
6 changes: 0 additions & 6 deletions spec/json/twilio_chat_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,11 @@
"members_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of Members in the Channel."
},
"messages_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of Messages in the Channel."
},
"url": {
Expand Down Expand Up @@ -458,7 +456,6 @@
"index": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The index of the message within the [Channel](https://www.twilio.com/docs/chat/api/channels)."
},
"url": {
Expand Down Expand Up @@ -634,13 +631,11 @@
"typing_indicator_timeout": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "How long in seconds after a `started typing` event until clients should assume that user is no longer typing, even if no `ended typing` message was received. The default is 5 seconds."
},
"consumption_report_interval": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "DEPRECATED. The interval in seconds between consumption reports submission batches from client endpoints."
},
"limits": {
Expand Down Expand Up @@ -785,7 +780,6 @@
"joined_channels_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of Channels this User is a Member of."
},
"links": {
Expand Down
8 changes: 0 additions & 8 deletions spec/json/twilio_chat_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,11 @@
"members_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of Members in the Channel."
},
"messages_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of Messages that have been passed in the Channel."
},
"url": {
Expand Down Expand Up @@ -678,7 +676,6 @@
"index": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The index of the message within the [Channel](https://www.twilio.com/docs/chat/channels). Indices may skip numbers, but will always be in order of when the message was received."
},
"type": {
Expand Down Expand Up @@ -876,13 +873,11 @@
"typing_indicator_timeout": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "How long in seconds after a `started typing` event until clients should assume that user is no longer typing, even if no `ended typing` message was received. The default is 5 seconds."
},
"consumption_report_interval": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "DEPRECATED. The interval in seconds between consumption reports submission batches from client endpoints."
},
"limits": {
Expand Down Expand Up @@ -915,13 +910,11 @@
"pre_webhook_retry_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of times to retry a call to the `pre_webhook_url` if the request times out (after 5 seconds) or it receives a 429, 503, or 504 HTTP response. Default retry count is 0 times, which means the call won't be retried."
},
"post_webhook_retry_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of times to retry a call to the `post_webhook_url` if the request times out (after 5 seconds) or it receives a 429, 503, or 504 HTTP response. The default is 0, which means the call won't be retried."
},
"notifications": {
Expand Down Expand Up @@ -1039,7 +1032,6 @@
"joined_channels_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of Channels the User is a Member of."
},
"links": {
Expand Down
2 changes: 0 additions & 2 deletions spec/json/twilio_chat_v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,11 @@
"members_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of Members in the Channel."
},
"messages_count": {
"type": "integer",
"default": 0,
"nullable": true,
"description": "The number of Messages that have been passed in the Channel."
},
"messaging_service_sid": {
Expand Down
131 changes: 128 additions & 3 deletions spec/json/twilio_content_sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
"type": "string",
"enum": [
"URL",
"PHONE_NUMBER"
"PHONE_NUMBER",
"COPY_CODE",
"VOICE_CALL"
]
},
"callToActionAction": {
Expand All @@ -61,7 +63,7 @@
"phone": {
"type": "string"
},
"id": {
"code": {
"type": "string"
}
},
Expand Down Expand Up @@ -112,7 +114,9 @@
"enum": [
"URL",
"PHONE_NUMBER",
"QUICK_REPLY"
"QUICK_REPLY",
"COPY_CODE",
"VOICE_CALL"
]
},
"cardAction": {
Expand All @@ -133,6 +137,9 @@
},
"id": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -492,6 +499,121 @@
"cards"
]
},
"twilioFlows": {
"type": "object",
"description": "twilio/flows templates allow you to send multiple messages in a set order with text or select options",
"nullable": true,
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"button_text": {
"type": "string"
},
"subtitle": {
"type": "string"
},
"media_url": {
"type": "string"
},
"pages": {
"$ref": "#/components/schemas/flowsPages"
},
"type": {
"type": "string"
}
},
"required": [
"body",
"button_text",
"subtitle",
"media_url",
"pages",
"type"
]
},
"flowsPages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/flowsPage"
}
},
"flowsPage": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"next_page_id": {
"type": "string"
},
"title": {
"type": "string"
},
"subtitle": {
"type": "string"
},
"layout": {
"$ref": "#/components/schemas/flowsPageComponents"
}
},
"required": [
"id",
"layout"
]
},
"flowsPageComponents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/flowsPageComponent"
}
},
"flowsPageComponent": {
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"type": {
"type": "string"
},
"text": {
"type": "string"
},
"options": {
"$ref": "#/components/schemas/flowsPageComponentSelectItems"
}
},
"required": [
"label",
"type"
]
},
"flowsPageComponentSelectItems": {
"type": "array",
"items": {
"$ref": "#/components/schemas/flowsPageComponentSelectItem"
}
},
"flowsPageComponentSelectItem": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title"
]
},
"ContentApprovalRequest": {
"type": "object",
"description": "Content approval request body",
Expand Down Expand Up @@ -569,6 +691,9 @@
"twilio/carousel": {
"$ref": "#/components/schemas/twilioCarousel"
},
"twilio/flows": {
"$ref": "#/components/schemas/twilioFlows"
},
"whatsapp/card": {
"$ref": "#/components/schemas/whatsappCard"
},
Expand Down
Loading

0 comments on commit c22dc49

Please sign in to comment.