Skip to content

Commit

Permalink
oaiFix: Updated api definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Oct 3, 2024
1 parent d7d998b commit 6a1b146
Show file tree
Hide file tree
Showing 14 changed files with 312 additions and 3,612 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
--------------------------
**Messaging**
- Add A2P external campaign CnpMigration flag

**Numbers**
- Add address sid to portability API

**Verify**
- Add `SnaClientToken` optional parameter on Verification check.
- Add `EnableSnaClientToken` optional parameter for Verification creation.


### [7.26.2](https://github.com/twilio/twilio-cli-core/compare/7.26.1...7.26.2) (2024-09-25)

--------------------------
Expand Down
279 changes: 147 additions & 132 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/services/twilio-api/twilio_events_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1933,9 +1933,9 @@
"meta": {
"page": 0,
"page_size": 20,
"first_page_url": "https://events.twilio.com/v1/Sinks?InUse=True&PageSize=20&Page=0",
"first_page_url": "https://events.twilio.com/v1/Sinks?InUse=true&PageSize=20&Page=0",
"previous_page_url": null,
"url": "https://events.twilio.com/v1/Sinks?InUse=True&PageSize=20&Page=0",
"url": "https://events.twilio.com/v1/Sinks?InUse=true&PageSize=20&Page=0",
"next_page_url": null,
"key": "sinks"
}
Expand Down
8 changes: 4 additions & 4 deletions src/services/twilio-api/twilio_flex_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5766,9 +5766,9 @@
"meta": {
"page": 0,
"page_size": 50,
"first_page_url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questionnaires?IncludeInactive=True&PageSize=50&Page=0",
"first_page_url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questionnaires?IncludeInactive=true&PageSize=50&Page=0",
"previous_page_url": null,
"url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questionnaires?IncludeInactive=True&PageSize=50&Page=0",
"url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questionnaires?IncludeInactive=true&PageSize=50&Page=0",
"next_page_url": null,
"key": "questionnaires"
}
Expand Down Expand Up @@ -5847,13 +5847,13 @@
}
],
"meta": {
"first_page_url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questionnaires?IncludeInactive=True&PageSize=50&Page=0",
"first_page_url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questionnaires?IncludeInactive=true&PageSize=50&Page=0",
"key": "questionnaires",
"next_page_url": null,
"page": 0,
"page_size": 50,
"previous_page_url": null,
"url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questionnaires?IncludeInactive=True&PageSize=50&Page=0"
"url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Questionnaires?IncludeInactive=true&PageSize=50&Page=0"
}
}
},
Expand Down
11 changes: 5 additions & 6 deletions src/services/twilio-api/twilio_iam_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,6 @@
"friendly_name",
"date_created"
],
"mountName": "get_api_keys",
"className": "get_api_keys",
"pathType": "list"
},
"get": {
Expand Down Expand Up @@ -364,7 +362,11 @@
"accountSid_authToken": []
}
],
"operationId": "ListGetKeys"
"operationId": "ListGetKeys",
"x-twilio": {
"mountName": "get_api_keys",
"className": "get_api_keys"
}
},
"post": {
"description": "Create a new Signing Key for the account making the request.",
Expand Down Expand Up @@ -500,9 +502,6 @@
}
}
}
},
"x-twilio": {
"mountName": "new_api_key"
}
}
},
Expand Down
20 changes: 10 additions & 10 deletions src/services/twilio-api/twilio_insights_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2633,11 +2633,11 @@
"meta": {
"page": 0,
"page_size": 25,
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?ToCarrier=AT%26T+Wireless&AnsweredBy=machine_start&VoiceIntegrityEnabled=True&StartTime=4h&BrandedEnabled=True&PageSize=25&Page=0",
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?ToCarrier=AT%26T+Wireless&AnsweredBy=machine_start&VoiceIntegrityEnabled=true&StartTime=4h&BrandedEnabled=true&PageSize=25&Page=0",
"previous_page_url": null,
"next_page_url": null,
"key": "call_summaries",
"url": "https://insights.twilio.com/v1/Voice/Summaries?ToCarrier=AT%26T+Wireless&AnsweredBy=machine_start&VoiceIntegrityEnabled=True&StartTime=4h&BrandedEnabled=True&PageSize=25&Page=0"
"url": "https://insights.twilio.com/v1/Voice/Summaries?ToCarrier=AT%26T+Wireless&AnsweredBy=machine_start&VoiceIntegrityEnabled=true&StartTime=4h&BrandedEnabled=true&PageSize=25&Page=0"
},
"call_summaries": [
{
Expand Down Expand Up @@ -2859,11 +2859,11 @@
"meta": {
"page": 0,
"page_size": 25,
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=client&StartTime=7d&HasTag=True&Subaccount=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab&PageSize=25&Page=0",
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=client&StartTime=7d&HasTag=true&Subaccount=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab&PageSize=25&Page=0",
"previous_page_url": null,
"next_page_url": null,
"key": "call_summaries",
"url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=client&StartTime=7d&HasTag=True&Subaccount=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab&PageSize=25&Page=0"
"url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=client&StartTime=7d&HasTag=true&Subaccount=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab&PageSize=25&Page=0"
},
"call_summaries": [
{
Expand Down Expand Up @@ -3025,11 +3025,11 @@
"meta": {
"page": 0,
"page_size": 25,
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?Direction=outbound_api%2Coutbound_dial%2Ctrunking_terminating&StartTime=1d&VerifiedCaller=True&PageSize=25&Page=0",
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?Direction=outbound_api%2Coutbound_dial%2Ctrunking_terminating&StartTime=1d&VerifiedCaller=true&PageSize=25&Page=0",
"previous_page_url": null,
"next_page_url": null,
"key": "call_summaries",
"url": "https://insights.twilio.com/v1/Voice/Summaries?Direction=outbound_api%2Coutbound_dial%2Ctrunking_terminating&StartTime=1d&VerifiedCaller=True&PageSize=25&Page=0"
"url": "https://insights.twilio.com/v1/Voice/Summaries?Direction=outbound_api%2Coutbound_dial%2Ctrunking_terminating&StartTime=1d&VerifiedCaller=true&PageSize=25&Page=0"
},
"call_summaries": [
{
Expand Down Expand Up @@ -3287,11 +3287,11 @@
"meta": {
"page": 0,
"page_size": 25,
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=sip%2Ctrunking&CallState=completed&StartTime=15d&AbnormalSession=True&PageSize=25&Page=0",
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=sip%2Ctrunking&CallState=completed&StartTime=15d&AbnormalSession=true&PageSize=25&Page=0",
"previous_page_url": null,
"next_page_url": null,
"key": "call_summaries",
"url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=sip%2Ctrunking&CallState=completed&StartTime=15d&AbnormalSession=True&PageSize=25&Page=0"
"url": "https://insights.twilio.com/v1/Voice/Summaries?CallType=sip%2Ctrunking&CallState=completed&StartTime=15d&AbnormalSession=true&PageSize=25&Page=0"
},
"call_summaries": [
{
Expand Down Expand Up @@ -3478,11 +3478,11 @@
"meta": {
"page": 0,
"page_size": 25,
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?AnsweredByAnnotation=human&SpamAnnotation=True&CallScoreAnnotation=1%2C2&ConnectivityIssueAnnotation=invalid_number%2Cdropped_call&QualityIssueAnnotation=choppy_robotic%2Cecho&PageSize=25&Page=0",
"first_page_url": "https://insights.twilio.com/v1/Voice/Summaries?AnsweredByAnnotation=human&SpamAnnotation=true&CallScoreAnnotation=1%2C2&ConnectivityIssueAnnotation=invalid_number%2Cdropped_call&QualityIssueAnnotation=choppy_robotic%2Cecho&PageSize=25&Page=0",
"previous_page_url": null,
"next_page_url": null,
"key": "call_summaries",
"url": "https://insights.twilio.com/v1/Voice/Summaries?AnsweredByAnnotation=human&SpamAnnotation=True&CallScoreAnnotation=1%2C2&ConnectivityIssueAnnotation=invalid_number%2Cdropped_call&QualityIssueAnnotation=choppy_robotic%2Cecho&PageSize=25&Page=0"
"url": "https://insights.twilio.com/v1/Voice/Summaries?AnsweredByAnnotation=human&SpamAnnotation=true&CallScoreAnnotation=1%2C2&ConnectivityIssueAnnotation=invalid_number%2Cdropped_call&QualityIssueAnnotation=choppy_robotic%2Cecho&PageSize=25&Page=0"
},
"call_summaries": [
{
Expand Down
8 changes: 4 additions & 4 deletions src/services/twilio-api/twilio_intelligence_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2492,9 +2492,9 @@
"meta": {
"page": 0,
"page_size": 50,
"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?Redacted=True&PageSize=50&Page=0",
"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?Redacted=true&PageSize=50&Page=0",
"previous_page_url": null,
"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?Redacted=True&PageSize=50&Page=0",
"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?Redacted=true&PageSize=50&Page=0",
"next_page_url": null,
"key": "operator_results"
}
Expand Down Expand Up @@ -3628,8 +3628,8 @@
"key": "sentences",
"page": 0,
"page_size": 50,
"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sentences?Redacted=True&WordTimestamps=True&PageSize=50&Page=0",
"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sentences?Redacted=True&WordTimestamps=True&PageSize=50&Page=0",
"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sentences?Redacted=true&WordTimestamps=true&PageSize=50&Page=0",
"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sentences?Redacted=true&WordTimestamps=true&PageSize=50&Page=0",
"next_page_url": null,
"previous_page_url": null
}
Expand Down
4 changes: 2 additions & 2 deletions src/services/twilio-api/twilio_messaging_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7448,11 +7448,11 @@
"meta": {
"page": 0,
"page_size": 50,
"first_page_url": "https://messaging.twilio.com/v1/Tollfree/Verifications?Status=TWILIO_APPROVED&ExternalReferenceId=abc123xyz567&TollfreePhoneNumberSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&IncludeSubAccounts=False&PageSize=50&Page=0",
"first_page_url": "https://messaging.twilio.com/v1/Tollfree/Verifications?Status=TWILIO_APPROVED&ExternalReferenceId=abc123xyz567&TollfreePhoneNumberSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&IncludeSubAccounts=false&PageSize=50&Page=0",
"previous_page_url": null,
"next_page_url": null,
"key": "verifications",
"url": "https://messaging.twilio.com/v1/Tollfree/Verifications?Status=TWILIO_APPROVED&ExternalReferenceId=abc123xyz567&TollfreePhoneNumberSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&IncludeSubAccounts=False&PageSize=50&Page=0"
"url": "https://messaging.twilio.com/v1/Tollfree/Verifications?Status=TWILIO_APPROVED&ExternalReferenceId=abc123xyz567&TollfreePhoneNumberSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&IncludeSubAccounts=false&PageSize=50&Page=0"
},
"verifications": [
{
Expand Down
16 changes: 16 additions & 0 deletions src/services/twilio-api/twilio_numbers_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,22 @@
"value": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa02"
}
}
},
{
"name": "AddressSid",
"in": "query",
"description": "Address Sid of customer to which the number will be ported.",
"schema": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^AD[0-9a-fA-F]{32}$"
},
"examples": {
"fetch": {
"value": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa02"
}
}
}
],
"responses": {
Expand Down
4 changes: 2 additions & 2 deletions src/services/twilio-api/twilio_numbers_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6776,9 +6776,9 @@
"meta": {
"page": 0,
"page_size": 50,
"first_page_url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Regulations?IsoCountry=US&IncludeConstraints=True&EndUserType=business&NumberType=mobile&PageSize=50&Page=0",
"first_page_url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Regulations?IsoCountry=US&IncludeConstraints=true&EndUserType=business&NumberType=mobile&PageSize=50&Page=0",
"previous_page_url": null,
"url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Regulations?IsoCountry=US&IncludeConstraints=True&EndUserType=business&NumberType=mobile&PageSize=50&Page=0",
"url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Regulations?IsoCountry=US&IncludeConstraints=true&EndUserType=business&NumberType=mobile&PageSize=50&Page=0",
"next_page_url": null,
"key": "results"
}
Expand Down
Loading

0 comments on commit 6a1b146

Please sign in to comment.