Skip to content

Commit

Permalink
feat: update twilio-oai 1.20.2 → 1.20.3 (#2)
Browse files Browse the repository at this point in the history
* fix: update package versions in README, too

* feat: update twilio-oai 1.20.2 → 1.20.3

Release notes:

* https://github.com/twilio/twilio-oai/releases/tag/1.20.3
  • Loading branch information
PiDelport committed Sep 23, 2021
1 parent 00b9f50 commit beb5508
Show file tree
Hide file tree
Showing 873 changed files with 1,024 additions and 955 deletions.
8 changes: 6 additions & 2 deletions generate.sh
Expand Up @@ -7,9 +7,12 @@
sed_crate_version='
/version = / s/"1[.]/"0./
'
sed_readme_version='
/Package version: / s/: 1[.]/: 0./
'

# Post-process script: Trim the default Markdown documentation links from the generated README.
sed_trim_readme="
sed_readme_trim_docs="
/^## Documentation for API Endpoints$/,/^To get access to the crate's generated documentation, use:$/ c \
## Documentation\n\
\n\
Expand Down Expand Up @@ -38,5 +41,6 @@ for spec_file in "$@"; do

# Post-process:
sed --in-place "$sed_crate_version" "${name}/Cargo.toml"
sed --in-place "$sed_trim_readme" "${name}/README.md"
sed --in-place "$sed_readme_version" "${name}/README.md"
sed --in-place "$sed_readme_trim_docs" "${name}/README.md"
done
2 changes: 1 addition & 1 deletion specs/twilio_accounts_v1.yaml
Expand Up @@ -157,7 +157,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Accounts
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/AuthTokens/Promote:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_api_v2010.yaml
Expand Up @@ -7805,7 +7805,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Api
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/2010-04-01/Accounts.json:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_autopilot_v1.yaml
Expand Up @@ -814,7 +814,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Autopilot
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Assistants:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_bulkexports_v1.yaml
Expand Up @@ -214,7 +214,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Bulkexports
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Exports/Jobs/{JobSid}:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_chat_v1.yaml
Expand Up @@ -649,7 +649,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Chat
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Credentials:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_chat_v2.yaml
Expand Up @@ -904,7 +904,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Chat
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v2/Credentials:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_conversations_v1.yaml
Expand Up @@ -1754,7 +1754,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Conversations
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Configuration:
Expand Down
4 changes: 3 additions & 1 deletion specs/twilio_events_v1.yaml
Expand Up @@ -119,6 +119,7 @@ components:
enum:
- kinesis
- webhook
- segment
nullable: true
type: string
status:
Expand Down Expand Up @@ -242,7 +243,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Events
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Schemas/{Id}:
Expand Down Expand Up @@ -466,6 +467,7 @@ paths:
enum:
- kinesis
- webhook
- segment
type: string
required:
- Description
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_fax_v1.yaml
Expand Up @@ -167,7 +167,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Fax
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Faxes:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_flex_v1.yaml
Expand Up @@ -405,7 +405,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Flex
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Channels:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_frontline_v1.yaml
Expand Up @@ -49,7 +49,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Frontline
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Users/{Sid}:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_insights_v1.yaml
Expand Up @@ -611,7 +611,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Insights
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Video/Rooms:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_ip_messaging_v1.yaml
Expand Up @@ -517,7 +517,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Ip_messaging
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Credentials:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_ip_messaging_v2.yaml
Expand Up @@ -719,7 +719,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Ip_messaging
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v2/Credentials:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_lookups_v1.yaml
Expand Up @@ -47,7 +47,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Lookups
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/PhoneNumbers/{PhoneNumber}:
Expand Down
27 changes: 26 additions & 1 deletion specs/twilio_messaging_v1.yaml
Expand Up @@ -46,19 +46,36 @@ components:
description: A reason why brand registration has failed
nullable: true
type: string
identity_status:
description: Identity Status
enum:
- SELF_DECLARED
- UNVERIFIED
- VERIFIED
- VETTED_VERIFIED
nullable: true
type: string
mock:
description: A boolean that specifies whether brand should be a mock or
not. If true, brand will be registered as a mock brand. Defaults to false
if no value is provided.
nullable: true
type: boolean
russell_3000:
description: Russell 3000
nullable: true
type: boolean
sid:
description: A2P BrandRegistration Sid
maxLength: 34
minLength: 34
nullable: true
pattern: ^BN[0-9a-fA-F]{32}$
type: string
skip_automatic_sec_vet:
description: Skip Automatic Secondary Vetting
nullable: true
type: boolean
status:
description: Brand Registration status
enum:
Expand All @@ -67,6 +84,10 @@ components:
- FAILED
nullable: true
type: string
tax_exempt_status:
description: Tax Exempt Status
nullable: true
type: string
tcr_id:
description: Campaign Registry (TCR) Brand ID
nullable: true
Expand Down Expand Up @@ -534,7 +555,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Messaging
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Deactivations:
Expand Down Expand Up @@ -1865,6 +1886,10 @@ paths:
mock or not. If true, brand will be registered as a mock brand.
Defaults to false if no value is provided.
type: boolean
SkipAutomaticSecVet:
description: A flag to disable automatic secondary vetting for brands
which it would otherwise be done.
type: boolean
required:
- CustomerProfileBundleSid
- A2pProfileBundleSid
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_monitor_v1.yaml
Expand Up @@ -285,7 +285,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Monitor
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Alerts:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_notify_v1.yaml
Expand Up @@ -353,7 +353,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Notify
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Credentials:
Expand Down
18 changes: 10 additions & 8 deletions specs/twilio_numbers_v2.yaml
Expand Up @@ -393,7 +393,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Numbers
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v2/RegulatoryCompliance/Bundles:
Expand Down Expand Up @@ -428,13 +428,14 @@ paths:
minLength: 34
pattern: ^RN[0-9a-fA-F]{32}$
type: string
- description: The ISO country code of the Bundle's phone number country ownership
request.
- description: The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
of the Bundle's phone number country ownership request.
in: query
name: IsoCountry
schema:
type: string
- description: The type of phone number of the Bundle's ownership request.
- description: The type of phone number of the Bundle's ownership request. Can
be `local`, `mobile`, `national`, or `toll free`.
in: query
name: NumberType
schema:
Expand Down Expand Up @@ -498,7 +499,8 @@ paths:
Bundle resource changes status.
type: string
EndUserType:
description: The type of End User of the Bundle resource.
description: The [type of End User](https://www.twilio.com/docs/phone-numbers/regulatory/api/end-user-types)
of the Bundle resource.
enum:
- individual
- business
Expand All @@ -507,12 +509,12 @@ paths:
description: The string that you assigned to describe the resource.
type: string
IsoCountry:
description: The ISO country code of the Bundle's phone number country
ownership request.
description: The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
of the Bundle's phone number country ownership request.
type: string
NumberType:
description: The type of phone number of the Bundle's ownership
request.
request. Can be `local`, `mobile`, `national`, or `toll free`.
type: string
RegulationSid:
description: The unique string of a regulation that is associated
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_pricing_v1.yaml
Expand Up @@ -290,7 +290,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Pricing
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Messaging/Countries:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_pricing_v2.yaml
Expand Up @@ -288,7 +288,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Pricing
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v2/Trunking/Countries:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_proxy_v1.yaml
Expand Up @@ -733,7 +733,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Proxy
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Services:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_serverless_v1.yaml
Expand Up @@ -714,7 +714,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Serverless
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Services:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_studio_v1.yaml
Expand Up @@ -481,7 +481,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Studio
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Flows:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_studio_v2.yaml
Expand Up @@ -390,7 +390,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Studio
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v2/Flows:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_supersim_v1.yaml
Expand Up @@ -518,7 +518,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Supersim
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Commands:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_sync_v1.yaml
Expand Up @@ -621,7 +621,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Sync
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Services:
Expand Down
2 changes: 1 addition & 1 deletion specs/twilio_taskrouter_v1.yaml
Expand Up @@ -1688,7 +1688,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.twilio.com/legal/tos
title: Twilio - Taskrouter
version: 1.20.2
version: 1.20.3
openapi: 3.0.1
paths:
/v1/Workspaces:
Expand Down

0 comments on commit beb5508

Please sign in to comment.