Skip to content

Commit

Permalink
[Librarian] Regenerated @ a25fe2e20ee404d8f8642d6e5acceff276916c9e
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Oct 5, 2023
1 parent 7f6abd0 commit b7c2bfa
Show file tree
Hide file tree
Showing 9 changed files with 353 additions and 51 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
twilio-oai changelog
====================
[2023-10-05] Version 2.0.0-rc.8
-------------------------------
**Lookups**
- Add test api support for Lookup v2


[2023-09-21] Version 2.0.0-rc.7
-------------------------------
**Conversations**
Expand Down
8 changes: 0 additions & 8 deletions spec/json/twilio_api_v2010.json
Original file line number Diff line number Diff line change
Expand Up @@ -3948,10 +3948,6 @@
"format": "uri-map",
"nullable": true,
"description": "A list of related resources identified by their URIs relative to `https://api.twilio.com`"
},
"tags": {
"nullable": true,
"description": "A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message."
}
}
},
Expand Down Expand Up @@ -25262,10 +25258,6 @@
"type": "string",
"description": "For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used."
},
"Tags": {
"type": "string",
"description": "A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. The object may contain up to 10 tags. Keys and values can each be up to 128 characters in length."
},
"RiskCheck": {
"type": "string",
"$ref": "#/components/schemas/message_enum_risk_check",
Expand Down
24 changes: 0 additions & 24 deletions spec/json/twilio_flex_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,36 +158,12 @@
}
],
"tags": [
{
"name": "FlexV2AvailableCapacity"
},
{
"name": "FlexV2CapacityReservation"
},
{
"name": "FlexV2ChannelConfiguration"
},
{
"name": "FlexV2ConductorFlow"
},
{
"name": "FlexV2InstanceUser"
},
{
"name": "FlexV2User"
},
{
"name": "FlexV2UserCapacity"
},
{
"name": "FlexV2UserCapacityReservation"
},
{
"name": "FlexV2UserConcurrency"
},
{
"name": "FlexV2UserStatus"
},
{
"name": "FlexV2WebChannels"
}
Expand Down
1 change: 1 addition & 0 deletions spec/json/twilio_lookups_bulk.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
}
],
"paths": {
"/v2/batch/query": {}
},
"components": {
"schemas": {
Expand Down
202 changes: 202 additions & 0 deletions spec/json/twilio_trusthub_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,32 @@
}
},
"schemas": {
"trusthub.v1.compliance_inquiry": {
"type": "object",
"properties": {
"inquiry_id": {
"type": "string",
"nullable": true,
"description": "The unique ID used to start an embedded compliance registration session."
},
"inquiry_session_token": {
"type": "string",
"nullable": true,
"description": "The session token used to start an embedded compliance registration session."
},
"customer_id": {
"type": "string",
"nullable": true,
"description": "The CustomerID matching the Customer Profile that should be resumed or resubmitted for editing."
},
"url": {
"type": "string",
"format": "uri",
"nullable": true,
"description": "The URL of this resource."
}
}
},
"trusthub.v1.customer_profile": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -793,6 +819,179 @@
},
"openapi": "3.0.1",
"paths": {
"/v1/ComplianceInquiries/Customers/Initialize": {
"servers": [
{
"url": "https://trusthub.twilio.com"
}
],
"description": "",
"x-twilio": {
"defaultOutputProperties": [
"inquiry_id",
"session_token",
"customer_id"
],
"mountName": "compliance_inquiries",
"className": "compliance_inquiries",
"pathType": "list"
},
"post": {
"description": "Create a new Compliance Inquiry for the authenticated account. This is necessary to start a new embedded session.",
"tags": [
"TrusthubV1ComplianceInquiries"
],
"responses": {
"201": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/trusthub.v1.compliance_inquiry"
},
"examples": {
"create": {
"value": {
"inquiry_id": "inq_aaaaaaaaaaaaaaaaaaaaaaaa",
"inquiry_session_token": "new.session.token",
"customer_id": "tri1.us1.trusthub.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.customer.BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/ComplianceInquiries/Customers/tri1.us1.trusthub.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.customer.BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Initialize"
}
}
}
}
},
"description": "Created"
}
},
"security": [
{
"accountSid_authToken": []
}
],
"operationId": "CreateComplianceInquiry",
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"type": "object",
"title": "CreateComplianceInquiryRequest",
"properties": {
"PrimaryProfileSid": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^BU[0-9a-fA-F]{32}$",
"description": "The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile."
}
},
"required": [
"PrimaryProfileSid"
]
},
"examples": {
"create": {
"value": {
"PrimaryProfileSid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}
}
}
}
}
}
},
"/v1/ComplianceInquiries/Customers/{CustomerId}/Initialize": {
"servers": [
{
"url": "https://trusthub.twilio.com"
}
],
"description": "",
"x-twilio": {
"defaultOutputProperties": [
"inquiry_id",
"session_token",
"customer_id"
],
"mountName": "compliance_inquiries",
"className": "compliance_inquiries",
"pathType": "instance"
},
"post": {
"description": "Resume a specific Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing.",
"tags": [
"TrusthubV1ComplianceInquiries"
],
"parameters": [
{
"name": "CustomerId",
"in": "path",
"description": "The unique CustomerId matching the Customer Profile/Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Compliance Inquiry creation call.",
"schema": {
"type": "string"
},
"required": true
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/trusthub.v1.compliance_inquiry"
},
"examples": {
"update": {
"value": {
"inquiry_id": "inq_aaaaaaaaaaaaaaaaaaaaaaaa",
"inquiry_session_token": "new.session.token",
"customer_id": "tri1.us1.trusthub.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.customer.BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/ComplianceInquiries/Customers/tri1.us1.trusthub.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.customer.BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Initialize"
}
}
}
}
},
"description": "OK"
}
},
"security": [
{
"accountSid_authToken": []
}
],
"operationId": "UpdateComplianceInquiry",
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"type": "object",
"title": "UpdateComplianceInquiryRequest",
"properties": {
"PrimaryProfileSid": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^BU[0-9a-fA-F]{32}$",
"description": "The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile."
}
},
"required": [
"PrimaryProfileSid"
]
},
"examples": {
"update": {
"value": {
"PrimaryProfileSid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}
}
}
}
}
}
},
"/v1/CustomerProfiles": {
"servers": [
{
Expand Down Expand Up @@ -7057,6 +7256,9 @@
}
],
"tags": [
{
"name": "TrusthubV1ComplianceInquiries"
},
{
"name": "TrusthubV1CustomerProfiles"
},
Expand Down
10 changes: 0 additions & 10 deletions spec/yaml/twilio_api_v2010.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3780,10 +3780,6 @@ components:
nullable: true
description: A list of related resources identified by their URIs relative
to `https://api.twilio.com`
tags:
nullable: true
description: A string containing a JSON map of key value pairs of tags to
be recorded as metadata for the message.
message_enum_status:
type: string
enum:
Expand Down Expand Up @@ -21396,12 +21392,6 @@ paths:
be provided. If values are not defined in the `content_variables`
parameter, the [Template''s default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates)
are used.'
Tags:
type: string
description: A string containing a JSON map of key value pairs of
tags to be recorded as metadata for the message. The object may
contain up to 10 tags. Keys and values can each be up to 128 characters
in length.
RiskCheck:
type: string
$ref: '#/components/schemas/message_enum_risk_check'
Expand Down
8 changes: 0 additions & 8 deletions spec/yaml/twilio_flex_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,6 @@ paths:
servers:
- url: https://flex-api.twilio.com
tags:
- name: FlexV2AvailableCapacity
- name: FlexV2CapacityReservation
- name: FlexV2ChannelConfiguration
- name: FlexV2ConductorFlow
- name: FlexV2InstanceUser
- name: FlexV2User
- name: FlexV2UserCapacity
- name: FlexV2UserCapacityReservation
- name: FlexV2UserConcurrency
- name: FlexV2UserStatus
- name: FlexV2WebChannels
2 changes: 1 addition & 1 deletion spec/yaml/twilio_lookups_bulk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ info:
servers:
- url: https://lookups.twilio.com
paths:

/v2/batch/query: {}
components:
schemas:
LookupRequest:
Expand Down
Loading

0 comments on commit b7c2bfa

Please sign in to comment.