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

feat: Updating specs as per new yps changes #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
51 changes: 51 additions & 0 deletions spec/yaml/twilio_api_v2010.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4890,6 +4890,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove these unrelated changes? Just need to checkout the older commit of api-defs locally.

- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -5205,6 +5206,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -5520,6 +5522,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -5835,6 +5838,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -6150,6 +6154,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -6465,6 +6470,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -6780,6 +6786,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -7095,6 +7102,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -7410,6 +7418,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -7796,6 +7805,7 @@ components:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -8433,6 +8443,8 @@ paths:
- sid
- phone_number
- friendly_name
enumAliases:
address_requirements: address_requirement
parent: /Accounts/{AccountSid}/Addresses.json
pathType: list
/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json:
Expand Down Expand Up @@ -9108,6 +9120,8 @@ paths:
defaultOutputProperties:
- connect_app_sid
- connect_app_friendly_name
enumAliases:
permissions: permission
parent: /Accounts.json
pathType: list
/2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps/{ConnectAppSid}.json:
Expand Down Expand Up @@ -9152,6 +9166,8 @@ paths:
defaultOutputProperties:
- connect_app_sid
- connect_app_friendly_name
enumAliases:
permissions: permission
parent: /Accounts.json
pathType: instance
/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers.json:
Expand Down Expand Up @@ -10949,6 +10965,7 @@ paths:
or a Verified [outgoing caller id](https://www.twilio.com/docs/voice/api/outgoing-caller-ids)
for your account. If the `to` parameter is a phone number, `From`
must also be a phone number.
format: endpoint
type: string
MachineDetection:
description: 'Whether to detect if a human, answering machine, or
Expand Down Expand Up @@ -11108,6 +11125,7 @@ paths:
To:
description: The phone number, SIP address, or client identifier
to call.
format: endpoint
type: string
Trim:
description: 'Whether to trim any leading and trailing silence from
Expand All @@ -11118,6 +11136,7 @@ paths:
description: TwiML instructions for the call Twilio will use without
fetching Twiml from url parameter. If both `twiml` and `url` are
provided then `twiml` parameter will be ignored. Max 4000 characters.
format: twiml
type: string
Url:
description: The absolute URL that returns the TwiML instructions
Expand Down Expand Up @@ -13956,6 +13975,7 @@ paths:
description: TwiML instructions for the call Twilio will use without
fetching Twiml from url. Twiml and url parameters are mutually
exclusive
format: twiml
type: string
Url:
description: The absolute URL that returns the TwiML instructions
Expand Down Expand Up @@ -14367,6 +14387,7 @@ paths:
must also be a phone number. If `to` is sip address, this value
of `from` should be a username portion to be used to populate
the P-Asserted-Identity header that is passed to the SIP endpoint.
format: endpoint
type: string
JitterBufferSize:
description: 'Jitter buffer size for the connecting participant.
Expand Down Expand Up @@ -14490,6 +14511,7 @@ paths:
format (e.g., +16175551212). SIP addresses are formatted as `sip:[email protected]`.
Client identifiers are formatted `client:name`. [Custom parameters](https://www.twilio.com/docs/voice/api/conference-participant-resource#custom-parameters)
may also be specified.
format: endpoint
type: string
WaitMethod:
description: The HTTP method we should use to call `wait_url`. Can
Expand Down Expand Up @@ -15235,6 +15257,8 @@ paths:
defaultOutputProperties:
- sid
- friendly_name
enumAliases:
permissions: permission
parent: /Accounts.json
pathType: list
/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json:
Expand Down Expand Up @@ -15399,6 +15423,8 @@ paths:
defaultOutputProperties:
- sid
- friendly_name
enumAliases:
permissions: permission
parent: /Accounts.json
pathType: instance
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers.json:
Expand Down Expand Up @@ -15717,6 +15743,8 @@ paths:
- sid
- phone_number
- friendly_name
enumAliases:
address_requirements: address_requirement
parent: /Accounts.json
pathType: list
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json:
Expand Down Expand Up @@ -16028,6 +16056,8 @@ paths:
- sid
- phone_number
- friendly_name
enumAliases:
address_requirements: address_requirement
parent: /Accounts/{AccountSid}/IncomingPhoneNumbers.json
pathType: list
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Mobile.json:
Expand Down Expand Up @@ -16338,6 +16368,8 @@ paths:
- sid
- phone_number
- friendly_name
enumAliases:
address_requirements: address_requirement
parent: /Accounts/{AccountSid}/IncomingPhoneNumbers.json
pathType: list
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/TollFree.json:
Expand Down Expand Up @@ -16648,6 +16680,8 @@ paths:
- sid
- phone_number
- friendly_name
enumAliases:
address_requirements: address_requirement
parent: /Accounts/{AccountSid}/IncomingPhoneNumbers.json
pathType: list
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json:
Expand Down Expand Up @@ -17337,6 +17371,8 @@ paths:
- sid
- phone_number
- friendly_name
enumAliases:
address_requirements: address_requirement
parent: /Accounts.json
pathType: instance
/2010-04-01/Accounts/{AccountSid}/Keys.json:
Expand Down Expand Up @@ -23184,6 +23220,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -23533,6 +23570,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -23882,6 +23920,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -24231,6 +24270,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -24580,6 +24620,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -24929,6 +24970,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -25278,6 +25320,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -25627,6 +25670,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -25976,6 +26020,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -26347,6 +26392,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -26708,6 +26754,7 @@ paths:
enum:
- a2p-registration-fees
- agent-conference
- amazon-polly
- answering-machine-detection
- authy-authentications
- authy-calls-outbound
Expand Down Expand Up @@ -26975,6 +27022,8 @@ paths:
- friendly_name
- usage_category
- trigger_by
enumAliases:
trigger_by: trigger_field
parent: /Accounts/{AccountSid}/Usage.json
pathType: list
/2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json:
Expand Down Expand Up @@ -27116,6 +27165,8 @@ paths:
- friendly_name
- usage_category
- trigger_by
enumAliases:
trigger_by: trigger_field
parent: /Accounts/{AccountSid}/Usage.json
pathType: instance
/2010-04-01/Accounts/{Sid}.json:
Expand Down
14 changes: 14 additions & 0 deletions spec/yaml/twilio_chat_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,8 @@ paths:
- sid
- friendly_name
- type
enumAliases:
type: push_service
pathType: list
/v1/Credentials/{Sid}:
delete:
Expand Down Expand Up @@ -897,6 +899,8 @@ paths:
- sid
- friendly_name
- type
enumAliases:
type: push_service
pathType: instance
/v1/Services:
description: Top level scope for all chat resources
Expand Down Expand Up @@ -1118,6 +1122,8 @@ paths:
- sid
- unique_name
- friendly_name
enumAliases:
type: channel_type
parent: /Services
pathType: list
/v1/Services/{ServiceSid}/Channels/{ChannelSid}/Invites:
Expand Down Expand Up @@ -2084,6 +2090,8 @@ paths:
- sid
- unique_name
- friendly_name
enumAliases:
type: channel_type
parent: /Services
pathType: instance
/v1/Services/{ServiceSid}/Roles:
Expand Down Expand Up @@ -2212,6 +2220,8 @@ paths:
- sid
- friendly_name
- type
enumAliases:
type: role_type
parent: /Services
pathType: list
/v1/Services/{ServiceSid}/Roles/{Sid}:
Expand Down Expand Up @@ -2342,6 +2352,8 @@ paths:
- sid
- friendly_name
- type
enumAliases:
type: role_type
parent: /Services
pathType: instance
/v1/Services/{ServiceSid}/Users:
Expand Down Expand Up @@ -2672,6 +2684,8 @@ paths:
defaultOutputProperties:
- channel_sid
- status
enumAliases:
status: channel_status
parent: /Services/{ServiceSid}/Users
pathType: list
/v1/Services/{Sid}:
Expand Down
Loading