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: added support for application/json content type in request body #239

Merged
merged 6 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
[![Tests](https://github.com/twilio/twilio-go/actions/workflows/test-and-deploy.yml/badge.svg)](https://github.com/twilio/twilio-go/actions/workflows/test-and-deploy.yml)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/twilio/twilio-go)](https://pkg.go.dev/github.com/twilio/twilio-go)
[![Release](https://img.shields.io/github/release/twilio/twilio-go.svg)](https://github.com/twilio/twilio-go/releases/latest)
[![Learn OSS Contribution in TwilioQuest](https://img.shields.io/static/v1?label=TwilioQuest&message=Learn%20to%20contribute%21&color=F22F46&labelColor=1f243c&style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAASFBMVEUAAAAZGRkcHBwjIyMoKCgAAABgYGBoaGiAgICMjIyzs7PJycnMzMzNzc3UoBfd3d3m5ubqrhfrMEDu7u739/f4vSb/3AD///9tbdyEAAAABXRSTlMAAAAAAMJrBrEAAAKoSURBVHgB7ZrRcuI6EESdyxXGYoNFvMD//+l2bSszRgyUYpFAsXOeiJGmj4NkuWx1Qeh+Ekl9DgEXOBwOx+Px5xyQhDykfgq4wG63MxxaR4ddIkg6Ul3g84vCIcjPBA5gmUMeXESrlukuoK33+33uID8TWeLAdOWsKpJYzwVMB7bOzYSGOciyUlXSn0/ABXTosJ1M1SbypZ4O4MbZuIDMU02PMbauhhHMHXbmebmALIiEbbbbbUrpF1gwE9kFfRNAJaP+FQEXCCTGyJ4ngDrjOFo3jEL5JdqjF/pueR4cCeCGgAtwmuRS6gDwaRiGvu+DMFwSBLTE3+jF8JyuV1okPZ+AC4hDFhCHyHQjdjPHUKFDlHSJkHQXMB3KpSwXNGJPcwwTdZiXlRN0gSp0zpWxNtM0beYE0nRH6QIbO7rawwXaBYz0j78gxjokDuv12gVeUuBD0MDi0OQCLvDaAho4juP1Q/jkAncXqIcCfd+7gAu4QLMACCLxpRsSuQh0igu0C9Svhi7weAGZg50L3IE3cai4IfkNZAC8dfdhsUD3CgKBVC9JE5ABAFzg4QL/taYPAAWrHdYcgfLaIgAXWJ7OV38n1LEF8tt2TH29E+QAoDoO5Ve/LtCQDmKM9kPbvCEBApK+IXzbcSJ0cIGF6e8gpcRhUDogWZ8JnaWjPXc/fNnBBUKRngiHgTUSivSzDRDgHZQOLvBQgf8rRt+VdBUUhwkU6VpJ+xcOwQUqZr+mR0kvBUgv6cB4+37hQAkXqE8PwGisGhJtN4xAHMzrsgvI7rccXqSvKh6jltGlrOHA3Xk1At3LC4QiPdX9/0ndHpGVvTjR4bZA1ypAKgVcwE5vx74ulwIugDt8e/X7JgfkucBMIAr26ndnB4UCLnDOqvteQsHlgX9N4A+c4cW3DXSPbwAAAABJRU5ErkJggg==)](https://twil.io/learn-open-source)

All the code [here](./rest) was generated by [twilio-oai-generator](https://github.com/twilio/twilio-oai-generator) by
leveraging [openapi-generator](https://github.com/OpenAPITools/openapi-generator)
and [twilio-oai](https://github.com/twilio/twilio-oai). If you find an issue with the generation or the OpenAPI specs,
please go ahead and open an issue or a PR against the relevant repositories.

## 🚀 Feature Update
Twilio Go Helper Library's version 1.20.0 adds support for the application/json content type in the request body.
Behind the scenes Go Helper is now auto-generated via OpenAPI with this release.
This enables us to rapidly add new features and enhance consistency across versions and languages.

## Documentation

The documentation for the Twilio API can be found [here][apidocs].
Expand Down
2 changes: 1 addition & 1 deletion client/base_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ type BaseClient interface {
AccountSid() string
SetTimeout(timeout time.Duration)
SendRequest(method string, rawURL string, data url.Values,
headers map[string]interface{}) (*http.Response, error)
headers map[string]interface{}, body ...byte) (*http.Response, error)
}
66 changes: 47 additions & 19 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
package client

import (
"bytes"
"encoding/json"
"fmt"
"net/http"
Expand Down Expand Up @@ -64,10 +65,20 @@ func (c *Client) SetTimeout(timeout time.Duration) {
c.HTTPClient.Timeout = timeout
}

func extractContentTypeHeader(headers map[string]interface{}) (cType string) {
headerType, ok := headers["Content-Type"]
if !ok {
return urlEncodedContentType
}
return headerType.(string)
}

const (
keepZeros = true
delimiter = '.'
escapee = '\\'
urlEncodedContentType = "application/x-www-form-urlencoded"
jsonContentType = "application/json"
keepZeros = true
delimiter = '.'
escapee = '\\'
)

func (c *Client) doWithErr(req *http.Request) (*http.Response, error) {
Expand Down Expand Up @@ -117,16 +128,24 @@ func (c *Client) validateCredentials() error {

// SendRequest verifies, constructs, and authorizes an HTTP request.
func (c *Client) SendRequest(method string, rawURL string, data url.Values,
headers map[string]interface{}) (*http.Response, error) {
headers map[string]interface{}, body ...byte) (*http.Response, error) {

contentType := extractContentTypeHeader(headers)

u, err := url.Parse(rawURL)
if err != nil {
return nil, err
}

valueReader := &strings.Reader{}
goVersion := runtime.Version()
var req *http.Request

if method == http.MethodGet {
//For HTTP GET Method there are no body parameters. All other parameters like query, path etc
// are added as information in the url itself. Also while Content-Type is json, we are sending
// json body. In that case, data variable conatins all other parameters than body, which is the
//same case as GET method. In that case as well all parameters will be added to url
if method == http.MethodGet || contentType == jsonContentType {
if data != nil {
v, _ := form.EncodeToStringWith(data, delimiter, escapee, keepZeros)
s := delimitingRegex.ReplaceAllString(v, "")
Expand All @@ -135,18 +154,32 @@ func (c *Client) SendRequest(method string, rawURL string, data url.Values,
}
}

if method == http.MethodPost {
valueReader = strings.NewReader(data.Encode())
}
//data is already processed and information will be added to u(the url) in the
//previous step. Now body will solely contain json payload
if contentType == jsonContentType {
req, err = http.NewRequest(method, u.String(), bytes.NewBuffer(body))
if err != nil {
return nil, err
}
} else {
//Here the HTTP POST methods which is not having json content type are processed
//All the values will be added in data and encoded (all body, query, path parameters)
if method == http.MethodPost {
valueReader = strings.NewReader(data.Encode())
}
credErr := c.validateCredentials()
if credErr != nil {
return nil, credErr
}
req, err = http.NewRequest(method, u.String(), valueReader)
if err != nil {
return nil, err
}

credErr := c.validateCredentials()
if credErr != nil {
return nil, credErr
}

req, err := http.NewRequest(method, u.String(), valueReader)
if err != nil {
return nil, err
if contentType == urlEncodedContentType {
req.Header.Add("Content-Type", urlEncodedContentType)
}

req.SetBasicAuth(c.basicAuth())
Expand All @@ -160,14 +193,9 @@ func (c *Client) SendRequest(method string, rawURL string, data url.Values,

req.Header.Add("User-Agent", userAgent)

if method == http.MethodPost {
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
}

for k, v := range headers {
req.Header.Add(k, fmt.Sprint(v))
}

return c.doWithErr(req)
}

Expand Down
2 changes: 1 addition & 1 deletion client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func TestClient_SetAccountSid(t *testing.T) {
func TestClient_DefaultUserAgentHeaders(t *testing.T) {
headerServer := httptest.NewServer(http.HandlerFunc(
func(writer http.ResponseWriter, request *http.Request) {
assert.Regexp(t, regexp.MustCompile(`^twilio-go/[0-9.]+\s\(\w+\s\w+\)\sgo/\S+$`), request.Header.Get("User-Agent"))
assert.Regexp(t, regexp.MustCompile(`^twilio-go/[0-9.]+(-rc.[0-9])*\s\(\w+\s\w+\)\sgo/\S+$`), request.Header.Get("User-Agent"))
}))

resp, _ := testClient.SendRequest("GET", headerServer.URL, nil, nil)
Expand Down
9 changes: 4 additions & 5 deletions client/request_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ func NewRequestHandler(client BaseClient) *RequestHandler {
}

func (c *RequestHandler) sendRequest(method string, rawURL string, data url.Values,
headers map[string]interface{}) (*http.Response, error) {
headers map[string]interface{}, body ...byte) (*http.Response, error) {
parsedURL, err := c.BuildUrl(rawURL)
if err != nil {
return nil, err
}

return c.Client.SendRequest(method, parsedURL, data, headers)
return c.Client.SendRequest(method, parsedURL, data, headers, body...)
}

// BuildUrl builds the target host string taking into account region and edge configurations.
Expand Down Expand Up @@ -83,8 +82,8 @@ func (c *RequestHandler) BuildUrl(rawURL string) (string, error) {
return u.String(), nil
}

func (c *RequestHandler) Post(path string, bodyData url.Values, headers map[string]interface{}) (*http.Response, error) {
return c.sendRequest(http.MethodPost, path, bodyData, headers)
func (c *RequestHandler) Post(path string, bodyData url.Values, headers map[string]interface{}, body ...byte) (*http.Response, error) {
return c.sendRequest(http.MethodPost, path, bodyData, headers, body...)
}

func (c *RequestHandler) Get(path string, queryData url.Values, headers map[string]interface{}) (*http.Response, error) {
Expand Down
52 changes: 52 additions & 0 deletions client/request_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package client_test

import (
"errors"
"net/http"
"net/http/httptest"
"net/url"
"testing"

Expand Down Expand Up @@ -65,3 +67,53 @@ func assertAndGetURL(t *testing.T, requestHandler *client.RequestHandler, rawURL
assert.Nil(t, err)
return parsedURL
}

func TestRequestHandler_SendGetRequest(t *testing.T) {
errorResponse := `{
"status": 400,
"code":20001,
"message":"Bad request",
"more_info":"https://www.twilio.com/docs/errors/20001"
}`
errorServer := httptest.NewServer(http.HandlerFunc(
func(resp http.ResponseWriter, req *http.Request) {
resp.WriteHeader(400)
_, _ = resp.Write([]byte(errorResponse))
}))
defer errorServer.Close()

requestHandler := NewRequestHandler("user", "pass")
resp, err := requestHandler.Get(errorServer.URL, nil, nil) //nolint:bodyclose
twilioError := err.(*client.TwilioRestError)
assert.Nil(t, resp)
assert.Equal(t, 400, twilioError.Status)
assert.Equal(t, 20001, twilioError.Code)
assert.Equal(t, "https://www.twilio.com/docs/errors/20001", twilioError.MoreInfo)
assert.Equal(t, "Bad request", twilioError.Message)
assert.Nil(t, twilioError.Details)
}

func TestRequestHandler_SendPostRequest(t *testing.T) {
errorResponse := `{
"status": 400,
"code":20001,
"message":"Bad request",
"more_info":"https://www.twilio.com/docs/errors/20001"
}`
errorServer := httptest.NewServer(http.HandlerFunc(
func(resp http.ResponseWriter, req *http.Request) {
resp.WriteHeader(400)
_, _ = resp.Write([]byte(errorResponse))
}))
defer errorServer.Close()

requestHandler := NewRequestHandler("user", "pass")
resp, err := requestHandler.Post(errorServer.URL, nil, nil) //nolint:bodyclose
twilioError := err.(*client.TwilioRestError)
assert.Nil(t, resp)
assert.Equal(t, 400, twilioError.Status)
assert.Equal(t, 20001, twilioError.Code)
assert.Equal(t, "https://www.twilio.com/docs/errors/20001", twilioError.MoreInfo)
assert.Equal(t, "Bad request", twilioError.Message)
assert.Nil(t, twilioError.Details)
}
2 changes: 1 addition & 1 deletion rest/accounts/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is the public Twilio REST API.
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.55.3
- API version: 1.0.0
- Package version: 1.0.0
- Build package: com.twilio.oai.TwilioGoGenerator
For more information, please visit [https://support.twilio.com](https://support.twilio.com)
Expand Down
2 changes: 1 addition & 1 deletion rest/accounts/v1/docs/ListCredentialAwsResponseMeta.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**FirstPageUrl** | **string** | |[optional]
**Key** | **string** | |[optional]
**NextPageUrl** | Pointer to **string** | |
**Page** | **int** | |[optional]
**PageSize** | **int** | |[optional]
**PreviousPageUrl** | Pointer to **string** | |
**Url** | **string** | |[optional]
**Key** | **string** | |[optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ package openapi
// ListCredentialAwsResponseMeta struct for ListCredentialAwsResponseMeta
type ListCredentialAwsResponseMeta struct {
FirstPageUrl string `json:"first_page_url,omitempty"`
Key string `json:"key,omitempty"`
NextPageUrl *string `json:"next_page_url,omitempty"`
Page int `json:"page,omitempty"`
PageSize int `json:"page_size,omitempty"`
PreviousPageUrl *string `json:"previous_page_url,omitempty"`
Url string `json:"url,omitempty"`
Key string `json:"key,omitempty"`
}
25 changes: 12 additions & 13 deletions rest/api/v2010/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This is the public Twilio REST API.
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.55.3
- API version: 1.0.0
- Package version: 1.0.0
- Build package: com.twilio.oai.TwilioGoGenerator
For more information, please visit [https://support.twilio.com](https://support.twilio.com)
Expand Down Expand Up @@ -230,12 +230,12 @@ Class | Method | HTTP request | Description
## Documentation For Models

- [ListQueueResponse](docs/ListQueueResponse.md)
- [ApiV2010AccountIncomingPhoneNumberCapabilities](docs/ApiV2010AccountIncomingPhoneNumberCapabilities.md)
- [ApiV2010UsageRecordAllTime](docs/ApiV2010UsageRecordAllTime.md)
- [ApiV2010AccountIncomingPhoneNumberCapabilities](docs/ApiV2010AccountIncomingPhoneNumberCapabilities.md)
- [ApiV2010CallRecording](docs/ApiV2010CallRecording.md)
- [ListConferenceRecordingResponse](docs/ListConferenceRecordingResponse.md)
- [ApiV2010AvailablePhoneNumberSharedCost](docs/ApiV2010AvailablePhoneNumberSharedCost.md)
- [ListApplicationResponse](docs/ListApplicationResponse.md)
- [ApiV2010AvailablePhoneNumberSharedCost](docs/ApiV2010AvailablePhoneNumberSharedCost.md)
- [ApiV2010UsageRecord](docs/ApiV2010UsageRecord.md)
- [ListIncomingPhoneNumberLocalResponse](docs/ListIncomingPhoneNumberLocalResponse.md)
- [ApiV2010UserDefinedMessage](docs/ApiV2010UserDefinedMessage.md)
Expand All @@ -245,8 +245,8 @@ Class | Method | HTTP request | Description
- [ApiV2010OutgoingCallerId](docs/ApiV2010OutgoingCallerId.md)
- [ListParticipantResponse](docs/ListParticipantResponse.md)
- [ListRecordingAddOnResultPayloadResponse](docs/ListRecordingAddOnResultPayloadResponse.md)
- [ApiV2010Siprec](docs/ApiV2010Siprec.md)
- [ListConnectAppResponse](docs/ListConnectAppResponse.md)
- [ApiV2010Siprec](docs/ApiV2010Siprec.md)
- [ListUsageRecordYearlyResponse](docs/ListUsageRecordYearlyResponse.md)
- [ListUsageRecordThisMonthResponse](docs/ListUsageRecordThisMonthResponse.md)
- [ApiV2010UsageRecordMonthly](docs/ApiV2010UsageRecordMonthly.md)
Expand All @@ -259,8 +259,8 @@ Class | Method | HTTP request | Description
- [ListUsageRecordLastMonthResponse](docs/ListUsageRecordLastMonthResponse.md)
- [ApiV2010RecordingTranscription](docs/ApiV2010RecordingTranscription.md)
- [ListSigningKeyResponse](docs/ListSigningKeyResponse.md)
- [ApiV2010Queue](docs/ApiV2010Queue.md)
- [ApiV2010Token](docs/ApiV2010Token.md)
- [ApiV2010Queue](docs/ApiV2010Queue.md)
- [ListDependentPhoneNumberResponse](docs/ListDependentPhoneNumberResponse.md)
- [ListAvailablePhoneNumberNationalResponse](docs/ListAvailablePhoneNumberNationalResponse.md)
- [ApiV2010UsageRecordYesterday](docs/ApiV2010UsageRecordYesterday.md)
Expand All @@ -269,8 +269,8 @@ Class | Method | HTTP request | Description
- [ApiV2010IncomingPhoneNumberMobile](docs/ApiV2010IncomingPhoneNumberMobile.md)
- [ApiV2010SipIpAccessControlList](docs/ApiV2010SipIpAccessControlList.md)
- [ListCallNotificationResponse](docs/ListCallNotificationResponse.md)
- [ApiV2010AccountTokenIceServers](docs/ApiV2010AccountTokenIceServers.md)
- [ApiV2010AvailablePhoneNumberCountry](docs/ApiV2010AvailablePhoneNumberCountry.md)
- [ApiV2010AccountTokenIceServers](docs/ApiV2010AccountTokenIceServers.md)
- [ApiV2010UsageRecordThisMonth](docs/ApiV2010UsageRecordThisMonth.md)
- [ListAvailablePhoneNumberVoipResponse](docs/ListAvailablePhoneNumberVoipResponse.md)
- [ListShortCodeResponse](docs/ListShortCodeResponse.md)
Expand All @@ -292,8 +292,8 @@ Class | Method | HTTP request | Description
- [ApiV2010IncomingPhoneNumberLocal](docs/ApiV2010IncomingPhoneNumberLocal.md)
- [ApiV2010Media](docs/ApiV2010Media.md)
- [ApiV2010UsageRecordYearly](docs/ApiV2010UsageRecordYearly.md)
- [ApiV2010SipIpAccessControlListMapping](docs/ApiV2010SipIpAccessControlListMapping.md)
- [ListKeyResponse](docs/ListKeyResponse.md)
- [ApiV2010SipIpAccessControlListMapping](docs/ApiV2010SipIpAccessControlListMapping.md)
- [ApiV2010AvailablePhoneNumberMachineToMachine](docs/ApiV2010AvailablePhoneNumberMachineToMachine.md)
- [ApiV2010Notification](docs/ApiV2010Notification.md)
- [ApiV2010Recording](docs/ApiV2010Recording.md)
Expand All @@ -306,8 +306,8 @@ Class | Method | HTTP request | Description
- [ApiV2010IncomingPhoneNumberAssignedAddOn](docs/ApiV2010IncomingPhoneNumberAssignedAddOn.md)
- [ApiV2010UsageRecordDaily](docs/ApiV2010UsageRecordDaily.md)
- [ApiV2010Application](docs/ApiV2010Application.md)
- [ListIncomingPhoneNumberTollFreeResponse](docs/ListIncomingPhoneNumberTollFreeResponse.md)
- [ListSipAuthCallsCredentialListMappingResponse](docs/ListSipAuthCallsCredentialListMappingResponse.md)
- [ListIncomingPhoneNumberTollFreeResponse](docs/ListIncomingPhoneNumberTollFreeResponse.md)
- [ApiV2010Payments](docs/ApiV2010Payments.md)
- [ApiV2010Account](docs/ApiV2010Account.md)
- [ListSipIpAccessControlListMappingResponse](docs/ListSipIpAccessControlListMappingResponse.md)
Expand All @@ -323,18 +323,18 @@ Class | Method | HTTP request | Description
- [ListConferenceResponse](docs/ListConferenceResponse.md)
- [ApiV2010AvailablePhoneNumberLocal](docs/ApiV2010AvailablePhoneNumberLocal.md)
- [ApiV2010SipCredentialList](docs/ApiV2010SipCredentialList.md)
- [ApiV2010Message](docs/ApiV2010Message.md)
- [ListRecordingResponse](docs/ListRecordingResponse.md)
- [ApiV2010UsageRecordLastMonth](docs/ApiV2010UsageRecordLastMonth.md)
- [ApiV2010Message](docs/ApiV2010Message.md)
- [ListUsageTriggerResponse](docs/ListUsageTriggerResponse.md)
- [ApiV2010UsageRecordLastMonth](docs/ApiV2010UsageRecordLastMonth.md)
- [ApiV2010RecordingAddOnResult](docs/ApiV2010RecordingAddOnResult.md)
- [ListSipCredentialListResponse](docs/ListSipCredentialListResponse.md)
- [ListAvailablePhoneNumberCountryResponse](docs/ListAvailablePhoneNumberCountryResponse.md)
- [ListCallRecordingResponse](docs/ListCallRecordingResponse.md)
- [ListSipCredentialListResponse](docs/ListSipCredentialListResponse.md)
- [ListIncomingPhoneNumberMobileResponse](docs/ListIncomingPhoneNumberMobileResponse.md)
- [ApiV2010AvailablePhoneNumberMobile](docs/ApiV2010AvailablePhoneNumberMobile.md)
- [ApiV2010SipCredentialListMapping](docs/ApiV2010SipCredentialListMapping.md)
- [ApiV2010Stream](docs/ApiV2010Stream.md)
- [ApiV2010SipCredentialListMapping](docs/ApiV2010SipCredentialListMapping.md)
- [ApiV2010AvailablePhoneNumberTollFree](docs/ApiV2010AvailablePhoneNumberTollFree.md)
- [ApiV2010SipDomain](docs/ApiV2010SipDomain.md)
- [ListUsageRecordDailyResponse](docs/ListUsageRecordDailyResponse.md)
Expand All @@ -361,7 +361,6 @@ Class | Method | HTTP request | Description
- [ListRecordingAddOnResultResponse](docs/ListRecordingAddOnResultResponse.md)
- [ListIncomingPhoneNumberAssignedAddOnExtensionResponse](docs/ListIncomingPhoneNumberAssignedAddOnExtensionResponse.md)
- [ListSipAuthCallsIpAccessControlListMappingResponse](docs/ListSipAuthCallsIpAccessControlListMappingResponse.md)
- [FetchHealthCheck200Response](docs/FetchHealthCheck200Response.md)
- [ApiV2010AuthorizedConnectApp](docs/ApiV2010AuthorizedConnectApp.md)
- [ListUsageRecordAllTimeResponse](docs/ListUsageRecordAllTimeResponse.md)
- [ListSipDomainResponse](docs/ListSipDomainResponse.md)
Expand Down
Loading
Loading