diff --git a/site/specs/messaging.yml b/site/specs/messaging.yml index 4b418a374..eeea306fa 100644 --- a/site/specs/messaging.yml +++ b/site/specs/messaging.yml @@ -87,10 +87,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.MediaApi; - public class Example { + import java.util.List; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -280,30 +282,37 @@ paths: } - lang: Java source: | - import com.bandwidth.BandwidthClient; - import com.bandwidth.http.response.ApiResponse; + import com.bandwidth.sdk.ApiClient; + import com.bandwidth.sdk.ApiException; + import com.bandwidth.sdk.Configuration; + import com.bandwidth.sdk.auth.*; + import com.bandwidth.sdk.model.*; + import com.bandwidth.sdk.api.MediaApi; - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.ExecutionException; - import java.io.InputStream; + import java.io.File; public class Sample { - public static final String USERNAME = "api-username"; - public static final String PASSWORD = "api-password"; - public static final String ACCOUNT_ID = "12345"; - public static void main(String[] args) { - String mediaId = "media-id-123"; + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); - BandwidthClient client = new BandwidthClient.Builder() - .messagingBasicAuthCredentials(USERNAME, PASSWORD) - .build(); + // Configure HTTP basic authorization: Basic + HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); + Basic.setUsername("YOUR USERNAME"); + Basic.setPassword("YOUR PASSWORD"); + MediaApi apiInstance = new MediaApi(defaultClient); + String accountId = "9900000"; // String | Your Bandwidth Account ID. + String mediaId = "14762070468292kw2fuqty55yp2b2/0/bw.png"; // String | Media ID to retrieve. try { - CompletableFuture> completableFuture = client.getMessagingClient().getAPIController().getMediaAsync(ACCOUNT_ID, mediaId); - System.out.println(completableFuture.get().getResult()); - } catch (InterruptedException | ExecutionException e) { - System.out.println(e.getMessage()); + File result = apiInstance.getMedia(accountId, mediaId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MediaApi#getMedia"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); } } } @@ -505,10 +514,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.MediaApi; - public class Example { + import java.io.File; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -753,10 +764,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.MediaApi; - public class Example { + import java.io.File; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -962,10 +975,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.MessagesApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -1204,10 +1217,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.MessagesApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); // Configure HTTP basic authorization: Basic diff --git a/site/specs/multi-factor-auth.yml b/site/specs/multi-factor-auth.yml index 2d9691a36..05c8a662c 100644 --- a/site/specs/multi-factor-auth.yml +++ b/site/specs/multi-factor-auth.yml @@ -106,10 +106,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.MfaApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -390,10 +390,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.MfaApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -671,10 +671,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.MfaApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); diff --git a/site/specs/phone-number-lookup.yml b/site/specs/phone-number-lookup.yml index 1ce596b32..ba3a07899 100644 --- a/site/specs/phone-number-lookup.yml +++ b/site/specs/phone-number-lookup.yml @@ -103,10 +103,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.PhoneNumberLookupApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -305,10 +305,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.PhoneNumberLookupApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); diff --git a/site/specs/voice.yml b/site/specs/voice.yml index 3ca214da3..1ebc18a31 100644 --- a/site/specs/voice.yml +++ b/site/specs/voice.yml @@ -149,12 +149,13 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.CallsApi; - public class Example { + public class Sample { public static void main(String[] args) { - + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); // Configure HTTP basic authorization: Basic HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); @@ -327,6 +328,52 @@ paths: rescue Bandwidth::ApiError => e p "Error when calling CallsApi->create_call: #{e}" end + get: + tags: + - Calls + summary: Get Calls + description: >- + Returns a max of 10000 calls, sorted by `createdTime` from oldest to + newest. + + + **NOTE:** If the number of calls in the account is bigger than + `pageSize`, a `Link` header (with format `<{url}>; rel="next"`) will be + returned in the response. The url can be used to retrieve the next page + of call records. + + Also, call information is kept for 7 days after the calls are hung up. + If you attempt to retrieve information for a call that is older than 7 + days, you will get an empty array [] in response. + operationId: listCalls + parameters: + - $ref: '#/components/parameters/accountId' + - $ref: '#/components/parameters/to' + - $ref: '#/components/parameters/from' + - $ref: '#/components/parameters/minStartTimeCalls' + - $ref: '#/components/parameters/maxStartTimeCalls' + - $ref: '#/components/parameters/disconnectCause' + - $ref: '#/components/parameters/pageSizeCalls' + - $ref: '#/components/parameters/pageToken' + responses: + '200': + $ref: '#/components/responses/listCallsResponse' + '400': + $ref: '#/components/responses/voiceBadRequestError' + '401': + $ref: '#/components/responses/voiceUnauthorizedError' + '403': + $ref: '#/components/responses/voiceForbiddenError' + '404': + $ref: '#/components/responses/voiceNotFoundError' + '405': + $ref: '#/components/responses/voiceNotAllowedError' + '415': + $ref: '#/components/responses/voiceUnsupportedMediaTypeError' + '429': + $ref: '#/components/responses/voiceTooManyRequestsError' + '500': + $ref: '#/components/responses/voiceInternalServerError' /accounts/{accountId}/calls/{callId}: get: tags: @@ -411,10 +458,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.CallsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -638,10 +685,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.CallsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -829,10 +876,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.CallsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -844,10 +891,7 @@ paths: CallsApi apiInstance = new CallsApi(defaultClient); String accountId = "9900000"; // String | Your Bandwidth Account ID. String callId = "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"; // String | Programmable Voice API Call ID. - String body = - - This is a test sentence. - ; // String | + String body = "This is a test sentence. "; // String | try { apiInstance.updateCallBxml(accountId, callId, body); } catch (ApiException e) { @@ -965,10 +1009,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.ConferencesApi; - public class Example { + import java.util.List; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -1171,10 +1217,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.ConferencesApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -1401,10 +1447,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.ConferencesApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost"); @@ -1600,10 +1646,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.ConferencesApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -1615,10 +1661,7 @@ paths: ConferencesApi apiInstance = new ConferencesApi(defaultClient); String accountId = "9900000"; // String | Your Bandwidth Account ID. String conferenceId = "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"; // String | Programmable Voice API Conference ID. - String body = - - - ; // String | + String body = ""; // String | try { apiInstance.updateConferenceBxml(accountId, conferenceId, body); } catch (ApiException e) { @@ -1729,10 +1772,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.ConferencesApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -1963,34 +2006,36 @@ paths: } - lang: Java source: | - import com.bandwidth.BandwidthClient; - import com.bandwidth.http.response.ApiResponse; - import com.bandwidth.voice.models.*; - - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.ExecutionException; + import com.bandwidth.sdk.ApiClient; + import com.bandwidth.sdk.ApiException; + import com.bandwidth.sdk.Configuration; + import com.bandwidth.sdk.auth.*; + import com.bandwidth.sdk.model.*; + import com.bandwidth.sdk.api.ConferencesApi; public class Sample { - public static final String USERNAME = "api-username"; - public static final String PASSWORD = "api-password"; - public static final String ACCOUNT_ID = "12345"; - public static void main(String[] args) { - String conferenceId = "conf-95ac8d8d-28e06798-2afe-434c-b0f4-666a79cd47f8"; - String callId = "c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d"; - - BandwidthClient client = new BandwidthClient.Builder() - .voiceBasicAuthCredentials(USERNAME, PASSWORD) - .build(); + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); - ConferenceMemberState conferenceMemberState = new ConferenceMemberState(); - conferenceMemberState.setMute(true); + // Configure HTTP basic authorization: Basic + HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); + Basic.setUsername("YOUR USERNAME"); + Basic.setPassword("YOUR PASSWORD"); + ConferencesApi apiInstance = new ConferencesApi(defaultClient); + String accountId = "9900000"; // String | Your Bandwidth Account ID. + String conferenceId = "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"; // String | Programmable Voice API Conference ID. + String memberId = "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"; // String | Programmable Voice API Conference Member ID. + UpdateConferenceMember updateConferenceMember = new UpdateConferenceMember(); // UpdateConferenceMember | try { - CompletableFuture> completableFuture = client.getVoiceClient().getAPIController().modifyConferenceMemberAsync(ACCOUNT_ID, conferenceId, callId, conferenceMemberState); - System.out.println(completableFuture.get().getResult()); - } catch (InterruptedException | ExecutionException e) { - System.out.println(e.getMessage()); + apiInstance.updateConferenceMember(accountId, conferenceId, memberId, updateConferenceMember); + } catch (ApiException e) { + System.err.println("Exception when calling ConferencesApi#updateConferenceMember"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); } } } @@ -2208,10 +2253,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.ConferencesApi; - public class Example { + import java.util.List; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -2426,10 +2473,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.ConferencesApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost"); @@ -2648,10 +2695,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.ConferencesApi; - public class Example { + import java.io.File; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -2870,10 +2919,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + import java.util.List; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost"); @@ -3088,10 +3139,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost"); @@ -3322,10 +3373,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + import java.util.List; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost"); @@ -3533,10 +3586,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -3751,10 +3804,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -3959,10 +4012,12 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + import java.io.File; + + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("http://localhost"); @@ -4166,10 +4221,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -4388,10 +4443,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -4623,10 +4678,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -4861,10 +4916,10 @@ paths: import com.bandwidth.sdk.ApiException; import com.bandwidth.sdk.Configuration; import com.bandwidth.sdk.auth.*; - import com.bandwidth.sdk.models.*; + import com.bandwidth.sdk.model.*; import com.bandwidth.sdk.api.RecordingsApi; - public class Example { + public class Sample { public static void main(String[] args) { ApiClient defaultClient = Configuration.getDefaultApiClient(); @@ -7396,6 +7451,38 @@ components: default: 1000 description: Specifies the max number of conferences that will be returned. example: 500 + minStartTimeCalls: + name: minStartTime + in: query + required: false + schema: + type: string + description: >- + Filter results to calls which have a `startTime` after or including + `minStartTime` (in ISO8601 format). + example: '2022-06-21T19:13:21Z' + maxStartTimeCalls: + name: maxStartTime + in: query + required: false + schema: + type: string + description: >- + Filter results to calls which have a `startTime` before or including + `maxStartTime` (in ISO8601 format). + example: '2022-06-21T19:13:21Z' + pageSizeCalls: + name: pageSize + in: query + required: false + schema: + type: integer + format: int32 + minimum: 1 + maximum: 10000 + default: 1000 + description: Specifies the max number of calls that will be returned. + example: 500 pageToken: name: pageToken in: query @@ -7406,6 +7493,14 @@ components: Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. + disconnectCause: + name: disconnectCause + in: query + required: false + schema: + type: string + description: Filter results to calls with specified call Disconnect Cause. + example: hangup requestBodies: createCallRequest: description: JSON object containing information to create an outbound call @@ -7505,6 +7600,14 @@ components: application/json: schema: $ref: '#/components/schemas/callState' + listCallsResponse: + description: Calls retrieved successfully + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/callState' getStatisticsResponse: description: Statistics Found content: